diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-02-09 00:57:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-02-09 00:57:50 +0800 |
commit | 2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec (patch) | |
tree | e311c2818c68f66126ee6879abd4a080b4b7ad6f /e-util | |
parent | eef8eda70ed8f716eeaae7dd8d9c81640b0dd4f8 (diff) | |
download | gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.tar.gz gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.tar.zst gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.zip |
Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-ui-manager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/e-util/e-ui-manager.c b/e-util/e-ui-manager.c index ef004b4da6..8b2d0ff9f6 100644 --- a/e-util/e-ui-manager.c +++ b/e-util/e-ui-manager.c @@ -102,7 +102,6 @@ ui_manager_filter_ui (EUIManager *ui_manager, gchar **lines; gchar *filtered; gboolean express_mode; - gboolean in_conditional = FALSE; gboolean include = TRUE; gint ii; @@ -120,11 +119,9 @@ ui_manager_filter_ui (EUIManager *ui_manager, gboolean not_express = lines[ii][4] == '!'; include = express_mode ^ not_express; lines[ii][0] = '\0'; - in_conditional = TRUE; } else if (!strncmp (lines[ii], "#endif", 6)) { lines[ii][0] = '\0'; include = TRUE; - in_conditional = FALSE; } } if (!include) |