[systemd-devel] [PATCH] hashmap: Remove unused auxv variable

Marcel Holtmann marcel at holtmann.org
Tue Dec 10 11:47:37 PST 2013


  CC       src/shared/hashmap.lo
src/shared/hashmap.c: In function 'hashmap_new':
src/shared/hashmap.c:188:15: warning: unused variable 'auxv' [-Wunused-variable]
         void *auxv;
               ^
---
 src/shared/hashmap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/shared/hashmap.c b/src/shared/hashmap.c
index 8f5957b4ac80..d8d6bc719d2a 100644
--- a/src/shared/hashmap.c
+++ b/src/shared/hashmap.c
@@ -185,7 +185,6 @@ Hashmap *hashmap_new(hash_func_t hash_func, compare_func_t compare_func) {
         bool b;
         Hashmap *h;
         size_t size;
-        void *auxv;
 
         b = is_main_thread();
 
-- 
1.8.3.1



More information about the systemd-devel mailing list