summaryrefslogtreecommitdiff
path: root/ui/profile.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-12-28 14:37:53 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-12-28 14:37:53 +0000
commitc4650d85c64c417547ed96fcd36316d3896ea1dc (patch)
treed5d13effa225794d16465ab8adcf197c020b402e /ui/profile.c
parentc6ede6cf558693879b636c880ee17b60556b2b6d (diff)
downloadwireshark-c4650d85c64c417547ed96fcd36316d3896ea1dc.tar.gz
Fix [76%] Building C object ui/CMakeFiles/ui.dir/profile.c.o ui/profile.c: In function ‘init_profile_list’: ui/profile.c:195:20: error: variable ‘profile’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors
svn path=/trunk/; revision=46823
Diffstat (limited to 'ui/profile.c')
-rw-r--r--ui/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/profile.c b/ui/profile.c
index 94170aab84..28cf03ac9b 100644
--- a/ui/profile.c
+++ b/ui/profile.c
@@ -192,7 +192,7 @@ init_profile_list(void)
WS_DIR *dir; /* scanned directory */
WS_DIRENT *file; /* current file */
GList *fl_entry;
- profile_def *profile;
+ /*profile_def *profile;*/
const gchar *profiles_dir, *name;
gchar *filename;
@@ -225,7 +225,7 @@ init_profile_list(void)
if (test_for_directory(filename) == EISDIR) {
fl_entry = add_to_profile_list(name, name, PROF_STAT_EXISTS, TRUE, TRUE);
- profile = (profile_def *) fl_entry->data;
+ /*profile = (profile_def *) fl_entry->data;*/
}
g_free (filename);
}