aboutsummaryrefslogtreecommitdiffstats
path: root/rdps.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-06-24 03:39:54 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-06-24 03:39:54 +0000
commit0057d7c0e41c0a1ca32135eb21618a0ba85ba14a (patch)
treee5effa7a75e0ebfdc5299a4a4fbe58b5afcd1f50 /rdps.c
parentc54111c3887d5aef2f0789defbc5614152a8cd8e (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.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/rdps.c b/rdps.c
index 9cd0924b27..a28c48605d 100644
--- a/rdps.c
+++ b/rdps.c
@@ -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;