From 5bc1f537bc35287ababb1530df9e1ac37a92bf19 Mon Sep 17 00:00:00 2001 From: Eliot Gable Date: Fri, 5 Oct 2012 16:48:03 +0000 Subject: [PATCH] Fix compiler warnings. --- src/switch_core_hash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/switch_core_hash.c b/src/switch_core_hash.c index fd9494374a..4159d8b5fa 100644 --- a/src/switch_core_hash.c +++ b/src/switch_core_hash.c @@ -248,7 +248,6 @@ SWITCH_DECLARE(void) switch_core_hash_this(switch_hash_index_t *hi, const void * /* Deprecated */ SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *deprecate_me, switch_hash_t *hash) { - (void*)(deprecate_me); return switch_core_hash_first(hash); } @@ -261,7 +260,7 @@ SWITCH_DECLARE(switch_hash_index_t *) switch_hash_next(switch_hash_index_t *hi) /* Deprecated */ SWITCH_DECLARE(void) switch_hash_this(switch_hash_index_t *hi, const void **key, switch_ssize_t *klen, void **val) { - return switch_core_hash_this(hi, key, klen, val); + switch_core_hash_this(hi, key, klen, val); } /* For Emacs: