fix warnings
This commit is contained in:
parent
d05916ba50
commit
649ef31ce5
3 changed files with 4 additions and 3 deletions
|
@ -91,7 +91,7 @@ static void musicroom_draw_item(MenuEntry *e, int i, int cnt) {
|
|||
return;
|
||||
}
|
||||
|
||||
char buf[8];
|
||||
char buf[16];
|
||||
const char *title = p->state & MSTATE_TITLE_VISIBLE ? e->name : "???????";
|
||||
Color clr = *r_color_current();
|
||||
TextParams tparams = {
|
||||
|
|
|
@ -102,6 +102,8 @@ static int64_t ziprw_seek_emulated(SDL_RWops *rw, int64_t offset, int whence) {
|
|||
|
||||
new_pos = sz - offset;
|
||||
break;
|
||||
|
||||
default: UNREACHABLE;
|
||||
}
|
||||
|
||||
if(new_pos < 0 || new_pos > sz) {
|
||||
|
|
|
@ -612,9 +612,8 @@ void stage_finish(int gameover) {
|
|||
|
||||
if(p) {
|
||||
++p->num_cleared;
|
||||
log_debug("Stage cleared %u times now", p->num_cleared);
|
||||
}
|
||||
|
||||
log_debug("Stage cleared %u times now", p->num_cleared);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue