summaryrefslogtreecommitdiff
path: root/conditions.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-10 13:28:54 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-10 13:28:54 +0000
commita055fd2cf143abcbe771e6e36918ca872e0be70e (patch)
tree2ada1f582cd5d7974b94b93466448251209eb789 /conditions.c
parentaface86175dbf812837b42ca15938d3e7edd3c0e (diff)
downloadwireshark-a055fd2cf143abcbe771e6e36918ca872e0be70e.tar.gz
Removed some unused assignments.
svn path=/trunk/; revision=30920
Diffstat (limited to 'conditions.c')
-rw-r--r--conditions.c2
1 files changed, 1 insertions, 1 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;
}