diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-06-24 03:39:54 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-06-24 03:39:54 +0000 |
commit | 0057d7c0e41c0a1ca32135eb21618a0ba85ba14a (patch) | |
tree | e5effa7a75e0ebfdc5299a4a4fbe58b5afcd1f50 /rdps.c | |
parent | c54111c3887d5aef2f0789defbc5614152a8cd8e (diff) |
coverity 169 dead code
finish the removal of "hex" state that was begun in svn 5798
svn path=/trunk/; revision=18569
Diffstat (limited to 'rdps.c')
-rw-r--r-- | rdps.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -45,7 +45,7 @@ void end_code(FILE *fd); void ps_clean_string(char *out, const char *in, int outbuf_size); -enum ps_state { null, preamble, hex, finale }; +enum ps_state { null, preamble, finale }; int main(int argc, char **argv) { @@ -97,16 +97,6 @@ int main(int argc, char **argv) write_code(output, buf); } } - else if (state == hex) { - if (strcmp(buf, "% ---- wireshark hex end ---- %\n") == 0) { - state = null; - end_code(output); - continue; - } - else { - write_code(output, buf); - } - } else if (state == finale) { if (strcmp(buf, "% ---- wireshark finale end ---- %\n") == 0) { state = null; |