PatR
171fb90746
!DEBUG warnings
...
With DEBUG suppressed, I started getting
16 warning: empty body in an if-statement
and 2 warning: empty body in an else-statement
from gcc.
Using braces for an empty block instead of just ';' avoids the warning:
if (foo)
debugpline("foo");
is bad,
if (bar) {
debugpline("bar");
}
is good. ;-)
The changes to lint.h are just precautionary.
modified:
include/lint.h
src/attrib.c, bones.c, dbridge.c, dig.c, eat.c,
makemon.c, mkmaze.c, mon.c, sp_lev.c
2015-12-04 14:58:49 -08:00
..
2015-03-31 00:18:00 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-30 22:41:30 -07:00
2015-05-30 22:41:30 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2015-05-31 16:50:08 -04:00
2015-10-17 13:15:46 +03:00
2015-10-17 12:28:52 +03:00
2015-11-16 18:55:15 -08:00
2015-11-15 21:57:15 -08:00
2015-05-25 09:21:31 +09:00
2015-10-17 12:28:52 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-18 22:54:28 +02:00
2015-05-25 09:21:31 +09:00
2015-11-17 02:26:17 -08:00
2015-05-25 09:21:31 +09:00
2015-12-02 02:18:24 -08:00
2015-10-17 13:47:25 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2015-12-02 23:19:04 -05:00
2015-06-11 14:09:17 -07:00
2015-05-25 09:21:31 +09:00
2015-12-04 14:58:49 -08:00
2015-05-25 09:21:15 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 13:15:46 +03:00
2015-11-17 02:26:17 -08:00
2015-11-17 02:26:17 -08:00
2015-05-25 09:21:31 +09:00
2015-10-17 13:15:46 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-06-17 13:44:02 +03:00
2015-05-25 09:21:31 +09:00
2015-10-18 13:55:11 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-13 09:14:50 -05:00
2015-10-17 17:00:53 -07:00
2015-11-17 02:26:17 -08:00
2015-05-25 09:21:31 +09:00
2015-12-02 19:10:12 -05:00
2015-11-06 16:05:36 +02:00
2015-05-25 09:21:31 +09:00
2015-07-25 19:19:58 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-17 02:26:17 -08:00
2015-05-25 09:21:15 +09:00
2015-05-25 15:49:44 -07:00
2015-05-25 09:21:15 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2015-10-17 12:28:52 +03:00
2015-10-17 12:28:52 +03:00
2015-10-13 19:00:22 +03:00
2015-05-25 09:21:31 +09:00
2015-11-22 17:23:11 -08:00
2015-12-04 14:56:14 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-22 08:33:42 -08:00
2015-06-08 19:37:26 -04:00
2015-05-25 09:21:31 +09:00
2015-11-17 02:26:17 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2015-05-25 09:21:31 +09:00
2015-06-08 19:37:26 -04:00
2015-05-25 09:21:31 +09:00
2015-06-08 19:37:26 -04:00
2015-06-08 19:37:26 -04:00
2015-06-01 18:18:47 -07:00
2015-10-17 18:47:31 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00