From: krebbel Date: Fri, 17 Oct 2008 14:50:07 +0000 (+0000) Subject: 2008-10-17 Andreas Krebbel X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0eaffeb768e96484d9712eb584106c9122ba15ba;p=thirdparty%2Fgcc.git 2008-10-17 Andreas Krebbel * c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141193 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07b3b40eaedf..80b318f288a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-10-17 Andreas Krebbel + + * c-parser.c (c_parser_binary_expression): Silence the + uninitialized variable warning emitted for binary_loc. + 2008-10-16 Daniel Berlin * tree-ssa-pre.c (phi_translate_set): Add constants to phi diff --git a/gcc/c-parser.c b/gcc/c-parser.c index f08b28130103..0fc579b3e989 100644 --- a/gcc/c-parser.c +++ b/gcc/c-parser.c @@ -4583,7 +4583,7 @@ c_parser_binary_expression (c_parser *parser, struct c_expr *after) } stack[NUM_PRECS]; int sp; /* Location of the binary operator. */ - location_t binary_loc; + location_t binary_loc = UNKNOWN_LOCATION; /* Quiet warning. */ #define POP \ do { \ switch (stack[sp].op) \