Clear compiler warnings

Thanks to chjj/compton#445
This commit is contained in:
Yuxuan Shui
2018-05-17 12:50:22 +01:00
parent af8a08e655
commit 27fc4a2af4
5 changed files with 14 additions and 32 deletions

View File

@ -733,6 +733,8 @@ set_tgt_clip(session_t *ps, XserverRegion reg, const reg_data_t *pcache_reg) {
glx_set_clip(ps, reg, pcache_reg);
break;
#endif
default:
assert(false);
}
}
@ -885,9 +887,6 @@ win_on_wtype_change(session_t *ps, win *w);
static void
win_on_factor_change(session_t *ps, win *w);
static void
win_upd_run(session_t *ps, win *w, win_upd_t *pupd);
static void
calc_win_size(session_t *ps, win *w);