]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 b88e07e835622bf287e15a94bf0272c9837cd274..4d9bd6234fac5e1205325e45c9b911d54ba51589 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 d190756773749709ceb1d38610add7179f9c3696..8ba91f9ffb8015e879806ea81a04c37a563da966 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;