This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] remove some superfluous semicolons
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sat, 05 Mar 2011 14:04:04 -0800
- Subject: [commit] remove some superfluous semicolons
checked in.
2011-03-05 Michael Snyder <msnyder@vmware.com>
* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
* mdebugread.c (parse_symbol): Ditto.
* parse.c (parse_exp_in_context): Ditto.
* source.c (add_path): Ditto.
* utils.c (gnu_debuglink_crc32): Ditto.
* varobj.c (variable_language): Ditto.
Index: dwarf2expr.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2expr.c,v
retrieving revision 1.54
diff -u -p -r1.54 dwarf2expr.c
--- dwarf2expr.c 7 Jan 2011 19:36:16 -0000 1.54
+++ dwarf2expr.c 5 Mar 2011 21:57:33 -0000
@@ -911,7 +911,7 @@ execute_stack_op (struct dwarf_expr_cont
/* Most things push a result value. */
dwarf_expr_push (ctx, result, in_stack_memory);
- no_push:;
+ no_push:
}
/* To simplify our main caller, if the result is an implicit
Index: mdebugread.c
===================================================================
RCS file: /cvs/src/src/gdb/mdebugread.c,v
retrieving revision 1.120
diff -u -p -r1.120 mdebugread.c
--- mdebugread.c 2 Mar 2011 23:54:16 -0000 1.120
+++ mdebugread.c 5 Mar 2011 21:57:33 -0000
@@ -943,7 +943,7 @@ parse_symbol (SYMR *sh, union aux_ext *a
tsym.st);
}
}
- end_of_fields:;
+ end_of_fields:
/* In an stBlock, there is no way to distinguish structs,
unions, and enums at this point. This is a bug in the
Index: parse.c
===================================================================
RCS file: /cvs/src/src/gdb/parse.c,v
retrieving revision 1.107
diff -u -p -r1.107 parse.c
--- parse.c 10 Jan 2011 20:38:49 -0000 1.107
+++ parse.c 5 Mar 2011 21:57:33 -0000
@@ -1160,7 +1160,7 @@ parse_exp_in_context (char **stringptr,
expout->nelts = expout_ptr;
expout = (struct expression *)
xrealloc ((char *) expout,
- sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));;
+ sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));
/* Convert expression from postfix form as generated by yacc
parser, to a prefix form. */
Index: source.c
===================================================================
RCS file: /cvs/src/src/gdb/source.c,v
retrieving revision 1.118
diff -u -p -r1.118 source.c
--- source.c 11 Jan 2011 21:53:24 -0000 1.118
+++ source.c 5 Mar 2011 21:57:33 -0000
@@ -625,7 +625,7 @@ add_path (char *dirname, char **which_pa
old = *which_path;
}
}
- skip_dup:;
+ skip_dup:
}
while (arg != NULL);
}
Index: utils.c
===================================================================
RCS file: /cvs/src/src/gdb/utils.c,v
retrieving revision 1.248
diff -u -p -r1.248 utils.c
--- utils.c 3 Mar 2011 03:51:30 -0000 1.248
+++ utils.c 5 Mar 2011 21:57:33 -0000
@@ -3733,7 +3733,7 @@ gnu_debuglink_crc32 (unsigned long crc,
crc = ~crc & 0xffffffff;
for (end = buf + len; buf < end; ++buf)
crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
- return ~crc & 0xffffffff;;
+ return ~crc & 0xffffffff;
}
ULONGEST
Index: varobj.c
===================================================================
RCS file: /cvs/src/src/gdb/varobj.c,v
retrieving revision 1.171
diff -u -p -r1.171 varobj.c
--- varobj.c 26 Feb 2011 02:07:09 -0000 1.171
+++ varobj.c 5 Mar 2011 21:57:33 -0000
@@ -2358,7 +2358,7 @@ variable_language (struct varobj *var)
static int
number_of_children (struct varobj *var)
{
- return (*var->root->lang->number_of_children) (var);;
+ return (*var->root->lang->number_of_children) (var);
}
/* What is the expression for the root varobj VAR? Returns a malloc'd