summaryrefslogtreecommitdiffstats
path: root/ui/librccui.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-13 16:20:32 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-13 16:20:32 +0100
commitb570b6fa9e85fd2d0881fb9ddb2b2e4d47156748 (patch)
treeba80170ae7d5ac5c5c50425269a706d84c55d8ca /ui/librccui.c
parent33b7af2945685a1efecfee579ddef2c78cd9d43a (diff)
downloadlibrcc-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/librccui.c')
-rw-r--r--ui/librccui.c12
1 files changed, 6 insertions, 6 deletions
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;