diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-09-15 14:49:56 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-09-15 13:52:23 +0000 |
commit | 72355a081795a0a5d4a984ba04633da30debe9d9 (patch) | |
tree | ecd3c8c1b035c6add5279a58388746e6c3833b6d /epan/dissectors/packet-ceph.c | |
parent | b96b145f5846c0f8e34aa6f77ab0803f73bb27c2 (diff) |
epan: Avoid possible misuse of comma operator warning
Change-Id: I73044cd71d21b5eef2e8350cf034f7801e169c16
Reviewed-on: https://code.wireshark.org/review/23552
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ceph.c')
-rw-r--r-- | epan/dissectors/packet-ceph.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ceph.c b/epan/dissectors/packet-ceph.c index f7cf0572f1..5e998cbb63 100644 --- a/epan/dissectors/packet-ceph.c +++ b/epan/dissectors/packet-ceph.c @@ -6840,8 +6840,10 @@ guint c_dissect_msgr(proto_tree *tree, */ /* Batch multiple unknowns together. */ - while (c_unknowntagnext(tvb, off)) - off++, unknowntagcount++; + while (c_unknowntagnext(tvb, off)) { + off++; + unknowntagcount++; + } c_set_type(data, wmem_strdup_printf(wmem_packet_scope(), "UNKNOWN x%u", |