summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2002-01-12 13:13:22 +0000
committerBen Laurie <ben@openssl.org>2002-01-12 13:13:22 +0000
commit37530362fa8486c695247e2a72cf9b8cf9e55583 (patch)
tree92d38d283f0006db3211e139431f6632f44f8195 /crypto/conf
parentfd69886aeda473c97af2b9ae9c52123c45783ded (diff)
Return value could be undefined.
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf_mod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c
index cbbaf64f3c..3a1888a004 100644
--- a/crypto/conf/conf_mod.c
+++ b/crypto/conf/conf_mod.c
@@ -320,7 +320,8 @@ static CONF_MODULE *module_find(char *name)
/* initialize a module */
static int module_init(CONF_MODULE *pmod, char *name, char *value, CONF *cnf)
{
- int ret, init_called = 0;
+ int ret = 1;
+ int init_called = 0;
CONF_IMODULE *imod = NULL;
/* Otherwise add initialized module to list */