fix small warnings when compiling with DEBUG=0

next
Michael Stapelberg 2011-03-14 23:17:52 +01:00
parent 7100d32971
commit 76e978bfb3
3 changed files with 2 additions and 4 deletions

View File

@ -177,8 +177,6 @@ struct Font {
int height;
/** The xcb-id for the font */
xcb_font_t id;
TAILQ_ENTRY(Font) fonts;
};

View File

@ -145,7 +145,7 @@ int main(int argc, char *argv[]) {
char *override_configpath = NULL;
bool autostart = true;
char *layout_path = NULL;
bool delete_layout_path;
bool delete_layout_path = false;
bool only_check_config = false;
bool force_xinerama = false;
bool disable_signalhandler = false;

View File

@ -153,7 +153,7 @@ void tree_move(int direction) {
if (direction == TOK_UP || direction == TOK_LEFT) {
position = BEFORE;
next = TAILQ_PREV(above, nodes_head, nodes);
} else if (direction == TOK_DOWN || direction == TOK_RIGHT) {
} else {
position = AFTER;
next = TAILQ_NEXT(above, nodes);
}