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
This commit is contained in:
parent
c6ede6cf55
commit
c4650d85c6
|
@ -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);
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue