diff options
author | Zack Weinberg <zack@rabi.columbia.edu> | 1999-04-06 10:04:10 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 1999-04-06 10:04:10 +0000 |
commit | 099a9dd0c6cbc53d8c3c3799230e4321c312fbcb (patch) | |
tree | 51496bb714dc06bd6976e89d5dfcfbbab60c2334 /gcc/cppexp.c | |
parent | 507df939403988c14389eb006304dee8975b2250 (diff) | |
download | gcc-099a9dd0c6cbc53d8c3c3799230e4321c312fbcb.zip gcc-099a9dd0c6cbc53d8c3c3799230e4321c312fbcb.tar.gz gcc-099a9dd0c6cbc53d8c3c3799230e4321c312fbcb.tar.bz2 |
cppexp.c (parse_charconst): Initialize c.
1999-04-06 12:56 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cppexp.c (parse_charconst): Initialize c.
(cpp_parse_expr): Initialize rprio.
* cppfiles.c (merge_include_chains): Initialize prev.
(finclude) Set fp->line_base to fp->buf before returning.
* cpphash.c (macroexpand): Initialize token.
* cppspec.c (lang_specific_driver): Change suff to
const char *const *.
From-SVN: r26213
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index eaec468..24e7c231 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -254,10 +254,10 @@ parse_charconst (pfile, start, end) /* FIXME: Should use reentrant multibyte functions. */ #ifdef MULTIBYTE_CHARS - wchar_t c; + wchar_t c = (wchar_t)-1; (void) mbtowc (NULL_PTR, NULL_PTR, 0); #else - int c; + int c = -1; #endif if (*ptr == 'L') @@ -701,7 +701,7 @@ cpp_parse_expr (pfile) struct operation *stack = init_stack; struct operation *limit = stack + INIT_STACK_SIZE; register struct operation *top = stack; - int lprio, rprio; + int lprio, rprio = 0; int skip_evaluation = 0; top->rprio = 0; |