summaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-17 14:50:07 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-17 14:50:07 +0000
commit0eaffeb768e96484d9712eb584106c9122ba15ba (patch)
treeeccd2331f3f776743b8c5f4e398db9ab918806cc /gcc/c-parser.c
parentda86ab61e2a1f3417b05bbac240481967e7def9d (diff)
downloadgcc-0eaffeb768e96484d9712eb584106c9122ba15ba.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141193 138bc75d-0d04-0410-961f-82ee72b054a4
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 f08b2813010..0fc579b3e98 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) \