RDMA/nes: Rewrite expression to avoid undefined semantics
authorRoland Dreier <rolandd@cisco.com>
Wed, 14 Jul 2010 20:29:21 +0000 (13:29 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 14 Jul 2010 20:29:21 +0000 (13:29 -0700)
Change code like

x = expr(++x)

that assigns to x twice without a sequence point in between to the
intended (and well-defined)

x = expr(x + 1)

Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found