summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-24 08:28:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:29 -0500
commitcfa981c65667fb63c2c2af8a48149dc6e89f461c (patch)
treebf0204d576a4cd4f9f688451157e265aa5bdef67 /source4
parent00e79ceb49d2e21acd90ffa21b931205ff012ef1 (diff)
downloadsamba-cfa981c65667fb63c2c2af8a48149dc6e89f461c.tar.gz
samba-cfa981c65667fb63c2c2af8a48149dc6e89f461c.tar.bz2
samba-cfa981c65667fb63c2c2af8a48149dc6e89f461c.zip
r9566: fix an uninitialised variable
(This used to be commit 7082440a70c5f85606538b7a35a1cc8f41eb7eeb)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/ejs/smbcalls_ldb.c2
1 files changed, 1 insertions, 1 deletions
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");