* xfns.c (Fx_create_frame): Add braces to silence GCC warning.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Mar 2011 00:59:17 +0000 (16:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Mar 2011 00:59:17 +0000 (16:59 -0800)
src/ChangeLog
src/xfns.c

index b88e07e..4d9bd62 100644 (file)
@@ -1,6 +1,7 @@
 2011-03-10  Paul Eggert  <eggert@cs.ucla.edu>
 
        * xfns.c (x_decode_color, x_set_name, x_window): Now static.
+       (Fx_create_frame): Add braces to silence GCC warning.
 
 2011-03-09  Paul Eggert  <eggert@cs.ucla.edu>
 
index d190756..8ba91f9 100644 (file)
@@ -3448,8 +3448,9 @@ This function is an internal primitive--use `make-frame' instead.  */)
       else if (! NILP (visibility))
        x_make_frame_visible (f);
       else
-       /* Must have been Qnil.  */
-       ;
+       {
+         /* Must have been Qnil.  */
+       }
     }
 
   BLOCK_INPUT;