diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-05-10 01:18:28 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2006-05-10 11:18:28 +1000 |
commit | 4db60bd06f820684418d7bb179d6edee80cddb08 (patch) | |
tree | f7410d749f8c2bca17d4209fe5cfb90d1ca8c4c1 /gcc/tree-pretty-print.c | |
parent | 9c5835d588797ee172ed900846bff6ebfc2a9ae5 (diff) | |
download | gcc-4db60bd06f820684418d7bb179d6edee80cddb08.zip gcc-4db60bd06f820684418d7bb179d6edee80cddb08.tar.gz gcc-4db60bd06f820684418d7bb179d6edee80cddb08.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 4 |
1 files changed, 1 insertions, 3 deletions
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"); |