summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/hashmap.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marc-andre.lureau@nokia.com>2009-02-18 18:16:45 +0200
committerLennart Poettering <lennart@poettering.net>2009-02-19 04:56:35 +0100
commit204083cb325ba3db09ca75b70e9d3d6adfb67e0d (patch)
treea2263ac32f4b431b0814bb5c7a74e818d16051c0 /src/pulsecore/hashmap.c
parent60d53c6523dfd59fbcc99ff443ba993e285ca366 (diff)
pulsecore: unused variable e in hashmap_put()
Diffstat (limited to 'src/pulsecore/hashmap.c')
-rw-r--r--src/pulsecore/hashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/hashmap.c b/src/pulsecore/hashmap.c
index 3c6f41ec..57607b69 100644
--- a/src/pulsecore/hashmap.c
+++ b/src/pulsecore/hashmap.c
@@ -138,7 +138,7 @@ int pa_hashmap_put(pa_hashmap *h, const void *key, void *value) {
hash = h->hash_func(key) % NBUCKETS;
- if ((e = hash_scan(h, hash, key)))
+ if (hash_scan(h, hash, key))
return -1;
if (!(e = pa_flist_pop(PA_STATIC_FLIST_GET(entries))))