aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2008-10-17 14:50:07 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2008-10-17 14:50:07 +0000
commit1f6d0c60bacd58ed5dea39bad23e540e01de65ce (patch)
treeeccd2331f3f776743b8c5f4e398db9ab918806cc /gcc/c-parser.c
parent27caad2e1e40c12ba53a049609f6cfa08ef16bae (diff)
downloadgcc-1f6d0c60bacd58ed5dea39bad23e540e01de65ce.zip
gcc-1f6d0c60bacd58ed5dea39bad23e540e01de65ce.tar.gz
gcc-1f6d0c60bacd58ed5dea39bad23e540e01de65ce.tar.bz2
c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc.
2008-10-17 Andreas Krebbel <krebbel1@de.ibm.com> * c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. From-SVN: r141193
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r--gcc/c-parser.c2
1 files changed, 1 insertions, 1 deletions
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) \