1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Removed unused "buffer" variables.

This commit is contained in:
Tobias Stoeckmann
2012-05-05 09:29:29 +02:00
committed by Carlos R. Mafra
parent 72546aab81
commit b5df97db95

View File

@@ -133,7 +133,7 @@ static WUserMenuData *convertShortcuts(WScreen * scr, WMPropList * shortcut)
{ {
WUserMenuData *data; WUserMenuData *data;
KeySym ksym; KeySym ksym;
char *k, *buffer, buf[MAX_SHORTCUT_LENGTH], *b; char *k, buf[MAX_SHORTCUT_LENGTH], *b;
int keycount, i, j, mod; int keycount, i, j, mod;
if (WMIsPLString(shortcut)) { if (WMIsPLString(shortcut)) {
@@ -334,7 +334,6 @@ static WMenu *readUserMenuFile(WScreen * scr, char *file_name)
WMenu *wUserMenuGet(WScreen * scr, WWindow * wwin) WMenu *wUserMenuGet(WScreen * scr, WWindow * wwin)
{ {
WMenu *menu = NULL; WMenu *menu = NULL;
char buffer[100];
char *path = NULL; char *path = NULL;
char *tmp; char *tmp;
if (wwin->wm_instance && wwin->wm_class) { if (wwin->wm_instance && wwin->wm_class) {