couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couchdb-khash git commit: fix previous merge
Date Thu, 16 Jul 2015 23:12:32 GMT
Repository: couchdb-khash
Updated Branches:
  refs/heads/master 265475d17 -> 07c770e74


fix previous merge


Project: http://git-wip-us.apache.org/repos/asf/couchdb-khash/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-khash/commit/07c770e7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-khash/tree/07c770e7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-khash/diff/07c770e7

Branch: refs/heads/master
Commit: 07c770e740b6622583c36895f26c734b8e5ee780
Parents: 265475d
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Jul 17 00:09:04 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Jul 17 00:09:04 2015 +0100

----------------------------------------------------------------------
 c_src/khash.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-khash/blob/07c770e7/c_src/khash.c
----------------------------------------------------------------------
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;


Mime
View raw message