Remove some dead code, add default paths to switch() to make static analyzers happy

Check was done with scan-build from the LLVM suite. The remaining reports are false
positives and have been reported to llvm:

http://llvm.org/bugs/show_bug.cgi?id=4358
http://llvm.org/bugs/show_bug.cgi?id=4359
This commit is contained in:
Michael Stapelberg
2009-06-10 19:59:36 +02:00
parent 2f334c3f59
commit d70ea03356
4 changed files with 11 additions and 14 deletions

View File

@ -336,9 +336,6 @@ void render_container(xcb_connection_t *conn, Container *container) {
xcb_configure_window(conn, stack_win->window, mask, values);
}
/* Reconfigure the currently focused client, if necessary. It is the only visible one */
client = container->currently_focused;
/* Render the decorations of all clients */
CIRCLEQ_FOREACH(client, &(container->clients), clients) {
/* If the client is in fullscreen mode, it does not get reconfigured */