all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compilation warning
@ 2010-06-29  0:55 Dan Nicolaescu
  2010-06-29  1:38 ` Christoph
  2010-06-29  5:55 ` martin rudalics
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Nicolaescu @ 2010-06-29  0:55 UTC (permalink / raw)
  To: emacs-devel


Compiling with -Wempty-body gives this warning:

emacs/src/frame.c:1390: warning: suggest braces around empty body in an 'if' statement

The code in question is:

  if (NILP (Vrun_hooks) || !NILP (Fframe_parameter (frame, intern ("tooltip"))))
    ;

It looks a bit odd.  What's the right fix here?




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-02 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29  0:55 compilation warning Dan Nicolaescu
2010-06-29  1:38 ` Christoph
2010-06-29  5:55 ` martin rudalics
2010-07-01  5:40   ` Dan Nicolaescu
2010-07-02 16:35     ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.