From 1f6d0c60bacd58ed5dea39bad23e540e01de65ce Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Fri, 17 Oct 2008 14:50:07 +0000 Subject: [PATCH] c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. 2008-10-17 Andreas Krebbel * c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. From-SVN: r141193 --- gcc/ChangeLog | 5 +++++ gcc/c-parser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07b3b40..80b318f 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 f08b281..0fc579b 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) \ -- 2.7.4