diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-01-07 18:18:46 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-08 09:20:05 +0000 |
commit | 37e64d83cd998df46ad57672fd44fca04c4d604c (patch) | |
tree | 2b20d1cf5807cd03f81ad3e4579e6e8a211dffc5 /plugins/unistim | |
parent | dcc49369b9ca5dc44395070c2f1e03694f6be24b (diff) |
Unistim: Nesting level does not match indendation (CID 1159216)
Change-Id: I024f47a41328ea7e8db3c79012b892f3cb48caad
Reviewed-on: https://code.wireshark.org/review/6376
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins/unistim')
-rw-r--r-- | plugins/unistim/packet-unistim.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index 281746a2a8..08695ff5b9 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -1235,9 +1235,7 @@ dissect_display_switch(proto_tree *msg_tree, DISPLAY_WRITE_ADDRESS_SOFT_LABEL_FLAG){ proto_tree_add_item(address_tree,hf_display_write_address_char_pos, tvb,offset,1,ENC_BIG_ENDIAN); - if((address_byte&DISPLAY_WRITE_ADDRESS_SOFT_LABEL_FLAG)!= - DISPLAY_WRITE_ADDRESS_SOFT_LABEL_FLAG) - offset+=1;msg_len-=1; + offset+=1;msg_len-=1; } if((address_byte&DISPLAY_WRITE_ADDRESS_LINE_FLAG)== DISPLAY_WRITE_ADDRESS_LINE_FLAG){ |