You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/08/04 20:06:49 UTC

[11/15] git commit: Fix other compiler warning

Fix other compiler warning

Same issue, different function.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/commit/504cbd01
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/tree/504cbd01
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/diff/504cbd01

Branch: refs/heads/windsor-merge
Commit: 504cbd010905c0fb9fe9bc133c81e2639f8ab6fe
Parents: 406e9f7
Author: Paul J. Davis <pa...@gmail.com>
Authored: Thu Nov 21 15:50:08 2013 -0600
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Thu Nov 21 15:50:08 2013 -0600

----------------------------------------------------------------------
 c_src/b64url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-b64url/blob/504cbd01/c_src/b64url.c
----------------------------------------------------------------------
diff --git a/c_src/b64url.c b/c_src/b64url.c
index f4067fb..5e48957 100644
--- a/c_src/b64url.c
+++ b/c_src/b64url.c
@@ -494,7 +494,7 @@ b64url_decode_init(ErlNifEnv* env, int argc, const ENTERM argv[])
     b64url_st* st = NULL;
     size_t tlen;
     int status;
-    ENTERM ret;
+    ENTERM ret = priv->atom_error;
 
     if(argc != 1) {
         return enif_make_badarg(env);