From 6b43790020907a8199984a44f5624f842edea754 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 9 Mar 2011 16:59:17 -0800 Subject: [PATCH] * xfns.c (Fx_create_frame): Add braces to silence GCC warning. --- src/ChangeLog | 1 + src/xfns.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b88e07e8356..4d9bd6234fa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2011-03-10 Paul Eggert * 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 diff --git a/src/xfns.c b/src/xfns.c index d1907567737..8ba91f9ffb8 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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; -- 2.39.5