summaryrefslogtreecommitdiff
path: root/epan/strutil.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2006-03-07 20:01:42 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2006-03-07 20:01:42 +0000
commit96db73a93ffd0b487b5bdf9a23c97a28ec36344a (patch)
tree7d7361c5f104f36d72f63dfc031b70f6007d6149 /epan/strutil.c
parent1a4719ef8d18e46a3d94c020f6c2bd0ade1866f0 (diff)
downloadwireshark-96db73a93ffd0b487b5bdf9a23c97a28ec36344a.tar.gz
Remove a case statement which can never be reached, because the
previous isprint() test covers that case. This fixes Coverity bug ID #2. svn path=/trunk/; revision=17507
Diffstat (limited to 'epan/strutil.c')
-rw-r--r--epan/strutil.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/strutil.c b/epan/strutil.c
index 73a2ebce13..1ac18f9559 100644
--- a/epan/strutil.c
+++ b/epan/strutil.c
@@ -202,11 +202,6 @@ format_text(const guchar *string, int len)
column++;
switch (c) {
- case '\\':
- fmtbuf[idx][column] = '\\';
- column++;
- break;
-
case '\a':
fmtbuf[idx][column] = 'a';
column++;