This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Replace not-so-superfluous semicolons.


Drat!

Reverting part of my semicolon change, which (mea culpa) I did not test before committing. ;-(

2011-03-05  Michael Snyder  <msnyder@vmware.com>

	* source.c (add_path): Replace semicolon at end of block.
	* dwarf2expr.c (execute_stack_op): Ditto.

Index: source.c
===================================================================
RCS file: /cvs/src/src/gdb/source.c,v
retrieving revision 1.119
diff -u -p -r1.119 source.c
--- source.c	5 Mar 2011 22:02:47 -0000	1.119
+++ source.c	6 Mar 2011 01:29:00 -0000
@@ -626,6 +626,7 @@ add_path (char *dirname, char **which_pa
 	  }
       }
     skip_dup:
+      ;
     }
   while (arg != NULL);
 }
Index: dwarf2expr.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2expr.c,v
retrieving revision 1.55
diff -u -p -r1.55 dwarf2expr.c
--- dwarf2expr.c	5 Mar 2011 22:02:47 -0000	1.55
+++ dwarf2expr.c	6 Mar 2011 01:29:00 -0000
@@ -912,6 +912,7 @@ execute_stack_op (struct dwarf_expr_cont
       /* Most things push a result value.  */
       dwarf_expr_push (ctx, result, in_stack_memory);
     no_push:
+      ;
     }
 
   /* To simplify our main caller, if the result is an implicit

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]