summaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-06 00:08:36 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-06 00:08:36 +0000
commit9bcdd48c0f8c1311d3652a8ace91a6199e592617 (patch)
treedfc2d2ad08c1db179b618809f1b4c94e7d63484d /gdb/c-exp.y
parentf673b19a4aa1ea540dcb507b859ccf36e0a321cd (diff)
downloadgdb-9bcdd48c0f8c1311d3652a8ace91a6199e592617.tar.gz
2010-05-05 Michael Snyder <msnyder@vmware.com>
* c-exp.y (parse_string_or_char): Delete unused variable. (c_lex): Delete unused variable. * cp-name-parser.y (cpname_lex): Delete unused variable. * ada-exp.y (find_primitive_type): Delete unused variable. (write_var_or_type): Delete unused variable. * jv-exp.y (java_parse): Delete unused variable. (push_expression_name): Delete unused variable. * p-exp.y (pascal_lex): Delete unused variable.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 2577a99398e..44fa6905446 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -1708,7 +1708,7 @@ static int
parse_string_or_char (char *tokptr, char **outptr, struct typed_stoken *value,
int *host_chars)
{
- int quote, i;
+ int quote;
enum c_string_type type;
/* Build the gdb internal form of the input string in tempbuf. Note
@@ -2437,7 +2437,6 @@ static int
yylex (void)
{
token_and_value current;
- char *name;
int first_was_coloncolon, last_was_coloncolon, first_iter;
if (popping && !VEC_empty (token_and_value, token_fifo))