diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-11-13 16:20:32 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-11-13 16:20:32 +0100 |
commit | b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748 (patch) | |
tree | ba80170ae7d5ac5c5c50425269a706d84c55d8ca /ui | |
parent | 33b7af2945685a1efecfee579ddef2c78cd9d43a (diff) | |
download | librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.tar.gz librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.tar.bz2 librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.tar.xz librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.zip |
Comment out unused variables to prevent warnings
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk.c | 2 | ||||
-rw-r--r-- | ui/librccui.c | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -152,7 +152,7 @@ int rccUiMenuConfigureWidget(rcc_ui_menu_context ctx) { GtkTreeIter iter; GtkAdjustment *adjustment; #else /* GTK_MAJOR_VERSION < 3 */ - GtkWidget *list; + GtkWidget *list = NULL; GtkObject *adjustment; #endif /* GTK_MAJOR_VERSION */ diff --git a/ui/librccui.c b/ui/librccui.c index 94c4ba0..c47e35d 100644 --- a/ui/librccui.c +++ b/ui/librccui.c @@ -602,14 +602,14 @@ int rccUiSetClassNames(rcc_ui_context ctx) { int rccUiRestoreLanguage(rcc_ui_context ctx) { unsigned int i; - rcc_context rccctx; - rcc_language_id language_id; +// rcc_context rccctx; +// rcc_language_id language_id; if (!ctx) return -1; - rccctx = ctx->rccctx; +// rccctx = ctx->rccctx; - language_id = (rcc_language_id)rccUiMenuGet(ctx->language); +// language_id = (rcc_language_id)rccUiMenuGet(ctx->language); rccUiMenuConfigureWidget(ctx->engine); //rccUiMenuSet(ctx->engine, (rcc_ui_id)rccConfigGetSelectedEngine(config)); @@ -788,14 +788,14 @@ rcc_ui_frame rccUiGetLanguageFrame(rcc_ui_context ctx, rcc_ui_language_frame_nam rcc_ui_frame rccUiGetCharsetsFrame(rcc_ui_context ctx, rcc_ui_charset_frame_name *name) { unsigned int i; const char *class_name; - rcc_context rccctx; +// rcc_context rccctx; rcc_ui_frame_context framectx; rcc_ui_frame frame; rcc_ui_box charset; if (!ctx) return NULL; - rccctx = ctx->rccctx; +// rccctx = ctx->rccctx; framectx = ctx->charset_frame; if (framectx->frame) return framectx->frame; |