[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation warning
From: |
Dan Nicolaescu |
Subject: |
compilation warning |
Date: |
Mon, 28 Jun 2010 20:55:05 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
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?
- compilation warning,
Dan Nicolaescu <=