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:48 UTC
[10/15] git commit: Just assign a default value to ret
Just assign a default value to ret
Not sure how gcc was detecting that ret might've been used uninitialized
but rather than try and poke at it throught the commit, tag, update
dbcore, run jenkins build cycle I'll just assign a default value.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/commit/406e9f79
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/tree/406e9f79
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/diff/406e9f79
Branch: refs/heads/windsor-merge
Commit: 406e9f79aa91f81aaf59e29f57d03dc56bee5002
Parents: 6bd8868
Author: Paul J. Davis <pa...@gmail.com>
Authored: Thu Nov 21 15:46:18 2013 -0600
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Thu Nov 21 15:46:18 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/406e9f79/c_src/b64url.c
----------------------------------------------------------------------
diff --git a/c_src/b64url.c b/c_src/b64url.c
index 0bc6ab8..f4067fb 100644
--- a/c_src/b64url.c
+++ b/c_src/b64url.c
@@ -542,7 +542,7 @@ b64url_decode_cont(ErlNifEnv* env, int argc, const ENTERM argv[])
ErlNifBinary src;
b64url_priv* priv = (b64url_priv*) enif_priv_data(env);
b64url_st* st = NULL;
- ENTERM ret;
+ ENTERM ret = priv->atom_error;
int status;
if(argc != 2) {