diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-10 01:18:28 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-10 01:18:28 +0000 |
commit | 32a9fcf700e7ec6bdf131c70aa74439e15ea28ed (patch) | |
tree | f7410d749f8c2bca17d4209fe5cfb90d1ca8c4c1 /gcc/tree-pretty-print.c | |
parent | 503c6e8ed6f3ad13ee68b5c9d0c14bf82c92d9ff (diff) | |
download | gcc-32a9fcf700e7ec6bdf131c70aa74439e15ea28ed.tar.gz |
* tree-pretty-print.c (pretty_print_string): No need to handle
'\0' as a special character.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113669 138bc75d-0d04-0410-961f-82ee72b054a4
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 b86d2ce9077..5ce495b501f 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"); |