summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-search-engine-simple.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-01-29 22:07:16 +0800
committerraveit65 <[email protected]>2019-01-29 16:46:48 +0100
commit328d820311cacf644014efda12400172179c0c4d (patch)
tree17fa1507433f88ebc8850d8bf1f9113f70b2ae76 /libcaja-private/caja-search-engine-simple.c
parentdbfd51ed7989ac2b8e70b603ca3ce30bd0ba87f4 (diff)
downloadcaja-328d820311cacf644014efda12400172179c0c4d.tar.bz2
caja-328d820311cacf644014efda12400172179c0c4d.tar.xz
Fix compile warning
Remove unused variables, avoid uninitialized variable warnings, and indent code.
Diffstat (limited to 'libcaja-private/caja-search-engine-simple.c')
-rw-r--r--libcaja-private/caja-search-engine-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-search-engine-simple.c b/libcaja-private/caja-search-engine-simple.c
index 9e6084a7..519ea51a 100644
--- a/libcaja-private/caja-search-engine-simple.c
+++ b/libcaja-private/caja-search-engine-simple.c
@@ -347,7 +347,7 @@ visit_directory (GFile *dir, SearchThreadData *data)
GFileEnumerator *enumerator;
GFileInfo *info;
GFile *child;
- const char *tag, *mime_type, *display_name;
+ const char *mime_type, *display_name;
char *lower_name, *normalized;
gboolean hit;
int i;