don't use "void"!
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
/* #define XXX_YYY /* only for early debugging */
|
/* #define XXX_YYY /* only for early debugging */
|
||||||
|
|
||||||
#ifdef XXX_YYY
|
#ifdef XXX_YYY
|
||||||
#define out(str) ((void) sys_write(STDOUT, str, strlen(str)))
|
#define out(str) (sys_write(STDOUT, str, strlen(str)))
|
||||||
#else
|
#else
|
||||||
#define out(s)
|
#define out(s)
|
||||||
#endif
|
#endif
|
||||||
@@ -123,7 +123,7 @@ checkeol()
|
|||||||
|
|
||||||
if (nospace() != '\n') {
|
if (nospace() != '\n') {
|
||||||
syntax("end of line expected");
|
syntax("end of line expected");
|
||||||
(void) nospace();
|
nospace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user