1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-17 14:45:49 +01:00

WINGS: removed compiler warnings.

This patch removes compiler warnings.
This commit is contained in:
Rodolfo García Peñas (kix)
2014-01-31 21:31:26 +01:00
committed by Carlos R. Mafra
parent 201ea95e9d
commit 3b97d33d0a
5 changed files with 9 additions and 34 deletions

View File

@@ -470,11 +470,6 @@ static char *get_name_from_path(const char *path)
return wstrdup(&(path[size]));
}
static Bool filterFileName(WMFilePanel * panel, const char *file, Bool isDirectory)
{
return True;
}
#define CAST(item) (*((WMListItem**)item))
static int comparer(const void *a, const void *b)
{
@@ -535,9 +530,7 @@ static void listDirectoryOnColumn(WMFilePanel * panel, int column, const char *p
int isDirectory;
isDirectory = S_ISDIR(stat_buf.st_mode);
if (filterFileName(panel, dentry->d_name, isDirectory))
WMInsertBrowserItem(bPtr, column, -1, dentry->d_name, isDirectory);
WMInsertBrowserItem(bPtr, column, -1, dentry->d_name, isDirectory);
}
}
WMSortBrowserColumnWithComparer(bPtr, column, comparer);
@@ -738,6 +731,9 @@ out:
static void goUnmount(WMWidget *widget, void *p_panel)
{
/* Not implemented yet */
(void) widget;
(void) p_panel;
}
static void goFloppy(WMWidget *widget, void *p_panel)