From d69c3de6a838164ca68290ff89244b48c7ae7b98 Mon Sep 17 00:00:00 2001 From: pouillot Date: Tue, 8 Mar 2011 16:39:58 +0000 Subject: [PATCH] Re #307 : Fixed MSVC warnings about unused variables git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3429 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: c8d0d8ee24340936066b35b3c86f91c93c6c3d71 Former-commit-id: 007166208f54851346b6c9300670f28597a4c57a --- src/libs/tgfclient/guibutton.cpp | 2 -- src/libs/tgfclient/guicombobox.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/libs/tgfclient/guibutton.cpp b/src/libs/tgfclient/guibutton.cpp index 6d31e893..c7db48ec 100644 --- a/src/libs/tgfclient/guibutton.cpp +++ b/src/libs/tgfclient/guibutton.cpp @@ -170,7 +170,6 @@ GfuiGrButtonCreate(void *scr, const char *disabled, const char *enabled, tGfuiGrButton *button; tGfuiObject *object; tGfuiScreen *screen = (tGfuiScreen*)scr; - int w, h; object = (tGfuiObject*)calloc(1, sizeof(tGfuiObject)); object->widget = GFUI_GRBUTTON; @@ -338,7 +337,6 @@ GfuiButtonCreate(void *scr, const char *text, int font, int x, int y, int width, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost) { tGfuiButton *button; - tGfuiLabel *label; tGfuiObject *object; tGfuiScreen *screen = (tGfuiScreen*)scr; diff --git a/src/libs/tgfclient/guicombobox.cpp b/src/libs/tgfclient/guicombobox.cpp index 7562396a..4c57cbc3 100644 --- a/src/libs/tgfclient/guicombobox.cpp +++ b/src/libs/tgfclient/guicombobox.cpp @@ -94,8 +94,6 @@ GfuiComboboxCreate(void *scr, int font, int x, int y, int width, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost) { tGfuiCombobox *combobox; - tGfuiLabel *label; - tGfuiGrButton *leftButton, *rightButton; tGfuiObject *object; tGfuiScreen *screen = (tGfuiScreen*)scr;