svn path=/trunk/; revision=30920
/* check if hash table is already initialized */
_cnd_init();
/* check for unique class id */
- if((cls = (_cnd_class*)g_hash_table_lookup(classes, class_id)) != NULL) {
+ if(g_hash_table_lookup(classes, class_id) != NULL) {
g_warning("cnd_register_class: Duplicate class ID \"%s\"", class_id);
return FALSE;
}
WS_DIR *dir; /* scanned directory */
WS_DIRENT *file; /* current file */
const char *name;
- fileset_entry *entry;
GString *dirname;
gchar *fname_dup;
} /* if */
} else {
/* no, this is a "standalone file", just add this one */
- entry = fileset_add_file(dirname->str, get_basename(fname), TRUE /* current */);
+ fileset_add_file(dirname->str, get_basename(fname), TRUE /* current */);
/* don't add the file to the dialog here, this will be done in fileset_update_dlg() below */
}