fix small warnings when compiling with DEBUG=0
This commit is contained in:
parent
7100d32971
commit
76e978bfb3
|
@ -177,8 +177,6 @@ struct Font {
|
||||||
int height;
|
int height;
|
||||||
/** The xcb-id for the font */
|
/** The xcb-id for the font */
|
||||||
xcb_font_t id;
|
xcb_font_t id;
|
||||||
|
|
||||||
TAILQ_ENTRY(Font) fonts;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ int main(int argc, char *argv[]) {
|
||||||
char *override_configpath = NULL;
|
char *override_configpath = NULL;
|
||||||
bool autostart = true;
|
bool autostart = true;
|
||||||
char *layout_path = NULL;
|
char *layout_path = NULL;
|
||||||
bool delete_layout_path;
|
bool delete_layout_path = false;
|
||||||
bool only_check_config = false;
|
bool only_check_config = false;
|
||||||
bool force_xinerama = false;
|
bool force_xinerama = false;
|
||||||
bool disable_signalhandler = false;
|
bool disable_signalhandler = false;
|
||||||
|
|
|
@ -153,7 +153,7 @@ void tree_move(int direction) {
|
||||||
if (direction == TOK_UP || direction == TOK_LEFT) {
|
if (direction == TOK_UP || direction == TOK_LEFT) {
|
||||||
position = BEFORE;
|
position = BEFORE;
|
||||||
next = TAILQ_PREV(above, nodes_head, nodes);
|
next = TAILQ_PREV(above, nodes_head, nodes);
|
||||||
} else if (direction == TOK_DOWN || direction == TOK_RIGHT) {
|
} else {
|
||||||
position = AFTER;
|
position = AFTER;
|
||||||
next = TAILQ_NEXT(above, nodes);
|
next = TAILQ_NEXT(above, nodes);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue