* eval.c (Fdefvar): Rewrite so as not to use empty "else".
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 07:30:17 +0000 (00:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 07:30:17 +0000 (00:30 -0700)
src/ChangeLog
src/eval.c

index 4e72b9c..15d169a 100644 (file)
@@ -1,6 +1,7 @@
 2011-03-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        * eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static.
+       (Fdefvar): Rewrite so as not to use empty "else".
 
        * callint.c (quotify_arg, quotify_args): Now static.
        (Fcall_interactively): Rename locals to avoid shadowing.
index f9ed871..4f6d3dd 100644 (file)
@@ -801,10 +801,11 @@ usage: (defvar SYMBOL &optional INITVALUE DOCSTRING)  */)
       LOADHIST_ATTACH (sym);
     }
   else
-    /* Simple (defvar <var>) should not count as a definition at all.
-       It could get in the way of other definitions, and unloading this
-       package could try to make the variable unbound.  */
-    ;
+    {
+      /* Simple (defvar <var>) should not count as a definition at all.
+        It could get in the way of other definitions, and unloading this
+        package could try to make the variable unbound.  */
+    }
 
   return sym;
 }