diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-10 13:28:54 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-10 13:28:54 +0000 |
commit | a055fd2cf143abcbe771e6e36918ca872e0be70e (patch) | |
tree | 2ada1f582cd5d7974b94b93466448251209eb789 | |
parent | aface86175dbf812837b42ca15938d3e7edd3c0e (diff) |
Removed some unused assignments.
svn path=/trunk/; revision=30920
-rw-r--r-- | conditions.c | 2 | ||||
-rw-r--r-- | fileset.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/conditions.c b/conditions.c index 8b8dbd9197..7a1e9ee63a 100644 --- a/conditions.c +++ b/conditions.c @@ -143,7 +143,7 @@ gboolean cnd_register_class(const char* class_id, /* 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; } @@ -246,7 +246,6 @@ fileset_add_dir(const char *fname) WS_DIR *dir; /* scanned directory */ WS_DIRENT *file; /* current file */ const char *name; - fileset_entry *entry; GString *dirname; gchar *fname_dup; @@ -275,7 +274,7 @@ fileset_add_dir(const char *fname) } /* 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 */ } |