aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorLaurynas Biveinis <laurynas.biveinis@gmail.com>2008-06-27 12:29:55 +0000
committerLaurynas Biveinis <lauras@gcc.gnu.org>2008-06-27 12:29:55 +0000
commit098b9c467c8ce7f342823f56a7d4d7fc029188e4 (patch)
treec61c58c56cd265161dfe285d15e622f940c630c9 /gcc/c-lex.c
parentfa52081d8605854c0c9eaf9cb5266fe685f4a457 (diff)
downloadgcc-098b9c467c8ce7f342823f56a7d4d7fc029188e4.zip
gcc-098b9c467c8ce7f342823f56a7d4d7fc029188e4.tar.gz
gcc-098b9c467c8ce7f342823f56a7d4d7fc029188e4.tar.bz2
re PR c/34867 (valgrind error indication in testsuite from c-lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c)
2008-06-27 Laurynas Biveinis <laurynas.biveinis@gmail.com> PR c/34867 * c-lex.c (lex_charconst): Initialize unsignedp. From-SVN: r137175
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 73834ef..3c2c225 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -977,7 +977,7 @@ lex_charconst (const cpp_token *token)
cppchar_t result;
tree type, value;
unsigned int chars_seen;
- int unsignedp;
+ int unsignedp = 0;
result = cpp_interpret_charconst (parse_in, token,
&chars_seen, &unsignedp);