Fix compiler warnings

This commit is contained in:
kichikuou
2019-09-15 18:42:16 +09:00
parent 641f53e5bb
commit 4602b1ebfc
11 changed files with 26 additions and 24 deletions
+1
View File
@@ -139,4 +139,5 @@ int sp_draw_scg(sprite_t *sp, MyRectangle *r) {
WARNING("do update no=%d, sx=%d, sy=%d, w=%d, h=%d, dx=%d, dy=%d\n",
sp->no, sx, sy, w, h, dx, dy);
return OK;
}
+2 -2
View File
@@ -17,10 +17,10 @@
*/
#undef WARNING
#define WARNING //
#define WARNING(...)
#undef NOTICE
#define NOTICE //
#define NOTICE(...)
/**
+2 -2
View File
@@ -19,13 +19,13 @@ void Init() {
}
void SetKeyCancelFlag() {
int p1 = getCaliVariable();
int p1 = getCaliValue();
DEBUG_COMMAND_YET("nDEMO.SetKeyCancelFlag %d:\n", p1);
}
void SetLoopFlag() {
int p1 = getCaliVariable();
int p1 = getCaliValue();
DEBUG_COMMAND_YET("nDEMO.SetLoopFlag %d:\n", p1);
}