From cfa981c65667fb63c2c2af8a48149dc6e89f461c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 Aug 2005 08:28:49 +0000 Subject: r9566: fix an uninitialised variable (This used to be commit 7082440a70c5f85606538b7a35a1cc8f41eb7eeb) --- source4/scripting/ejs/smbcalls_ldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/scripting/ejs/smbcalls_ldb.c b/source4/scripting/ejs/smbcalls_ldb.c index 7d268d09f6..899cba5460 100644 --- a/source4/scripting/ejs/smbcalls_ldb.c +++ b/source4/scripting/ejs/smbcalls_ldb.c @@ -132,7 +132,7 @@ static int ejs_ldbAddModify(MprVarHandle eid, int argc, struct MprVar **argv, const char *ldifstring; struct ldb_context *ldb; struct ldb_ldif *ldif; - int ret; + int ret = 0; if (argc != 1) { ejsSetErrorMsg(eid, "ldb.add/modify invalid arguments"); -- cgit