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

Fix gcc warnings

This patch fixes the following warnings (with gcc 4.2.3)

    defaults.c:980: warning: unused variable 'replace'
    main.c:504: warning: 'watchPath' may be used uninitialized in this function
    main.c:504: note: 'watchPath' was declared here
    startup.c:616: warning: implicit declaration of function 'XrmUniqueQuark'
This commit is contained in:
Carlos R. Mafra
2008-11-10 01:35:57 +01:00
parent d680e6e580
commit 0c469de04f
3 changed files with 3 additions and 2 deletions

View File

@@ -977,7 +977,7 @@ static Bool
fixupCachedPixmapsPaths(WMPropList *dict)
{
WMPropList *allApps, *app, *props, *iconkey, *icon, *newicon;
char *path, *fixedpath, *ptr, *search, *replace;
char *path, *fixedpath, *ptr, *search;
int i, len, slen;
Bool changed = False;