changeset 3282:390dee4913ba

[xemacs-hg @ 2006-03-14 19:31:41 by james] Add a missing do to a do { ... } while(0) macro. See message ID <1141930812.4329.8.camel@jerrypc.cs.usu.edu> on the xemacs-patches list.
author james
date Tue, 14 Mar 2006 19:31:43 +0000
parents 57711e9aac15
children 0eaeb59fd3e9
files src/ChangeLog src/profile.h
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 14 00:09:09 2006 +0000
+++ b/src/ChangeLog	Tue Mar 14 19:31:43 2006 +0000
@@ -1,3 +1,7 @@
+2006-03-09  Jerry James  <james@xemacs.org>
+
+	* profile.h (RETURN_UNGCPRO_EXIT_PROFILING): Add missing do.
+
 2006-03-02  Marcus Crestani  <crestani@xemacs.org>
 
 	* gc.c (show_gc_cursor_and_message): New.
--- a/src/profile.h	Tue Mar 14 00:09:09 2006 +0000
+++ b/src/profile.h	Tue Mar 14 19:31:43 2006 +0000
@@ -113,6 +113,7 @@
   RETURN_EXIT_PROFILING (tag, Lisp_Object, expr)
   
 #define RETURN_UNGCPRO_EXIT_PROFILING(tag, expr)	\
+do							\
 {							\
   Lisp_Object ret_ungc_val = (expr);			\
   UNGCPRO;						\