From 4db60bd06f820684418d7bb179d6edee80cddb08 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 10 May 2006 01:18:28 +0000 Subject: tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a special character. * tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a special character. From-SVN: r113669 --- gcc/tree-pretty-print.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/tree-pretty-print.c') diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index b86d2ce..5ce495b 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -2512,9 +2512,7 @@ pretty_print_string (pretty_printer *buffer, const char *str) pp_string (buffer, "\\'"); break; - case '\0': - pp_string (buffer, "\\0"); - break; + /* No need to handle \0; the loop terminates on \0. */ case '\1': pp_string (buffer, "\\1"); -- cgit v1.1