diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-15 18:05:04 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-15 18:05:04 +0000 |
commit | e918ee63e4a7e5bd327ebc9283a26de9dc43b3f9 (patch) | |
tree | 723997f8c7e117575270ae3f219e49285134b133 /epan/dissectors/packet-ax25-kiss.c | |
parent | e48f3cd707a0c25a63a8dbdc8d04761e64ce8cab (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50625
Diffstat (limited to 'epan/dissectors/packet-ax25-kiss.c')
-rw-r--r-- | epan/dissectors/packet-ax25-kiss.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-ax25-kiss.c b/epan/dissectors/packet-ax25-kiss.c index 0af029b112..8038bcd1e1 100644 --- a/epan/dissectors/packet-ax25-kiss.c +++ b/epan/dissectors/packet-ax25-kiss.c @@ -180,12 +180,12 @@ capture_ax25_kiss( const guchar *pd, int offset, int len, packet_counts *ld) switch ( kiss_cmd & KISS_CMD_MASK ) { case KISS_DATA_FRAME : capture_ax25( pd, l_offset, len, ld ); break; - case KISS_TXDELAY : l_offset += 1; break; - case KISS_PERSISTENCE : l_offset += 1; break; - case KISS_SLOT_TIME : l_offset += 1; break; - case KISS_TXTAIL : l_offset += 1; break; - case KISS_FULLDUPLEX : l_offset += 1; break; - case KISS_SETHARDWARE : l_offset += 1; break; + case KISS_TXDELAY : break; + case KISS_PERSISTENCE : break; + case KISS_SLOT_TIME : break; + case KISS_TXTAIL : break; + case KISS_FULLDUPLEX : break; + case KISS_SETHARDWARE : break; case KISS_RETURN : break; default : break; } |