You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2019/02/22 17:28:18 UTC
[couchdb-khash] 11/25: fix previous merge
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-khash.git
commit 07c770e740b6622583c36895f26c734b8e5ee780
Author: Robert Newson <rn...@apache.org>
AuthorDate: Fri Jul 17 00:09:04 2015 +0100
fix previous merge
---
c_src/khash.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/c_src/khash.c b/c_src/khash.c
index 8081c3b..6fbf463 100644
--- a/c_src/khash.c
+++ b/c_src/khash.c
@@ -294,6 +294,7 @@ khash_lookup(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
{
khash_priv* priv = enif_priv_data(env);
khash_t* khash = NULL;
+ void* res = NULL;
uint32_t hval;
hnode_t* entry;
khnode_t* node;
@@ -335,6 +336,7 @@ khash_get(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
{
khash_priv* priv = enif_priv_data(env);
khash_t* khash = NULL;
+ void* res = NULL;
uint32_t hval;
hnode_t* entry;
khnode_t* node;
@@ -375,6 +377,7 @@ khash_put(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
{
khash_priv* priv = enif_priv_data(env);
khash_t* khash = NULL;
+ void* res = NULL;
uint32_t hval;
hnode_t* entry;
khnode_t* node;