diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-24 08:28:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:29 -0500 |
commit | cfa981c65667fb63c2c2af8a48149dc6e89f461c (patch) | |
tree | bf0204d576a4cd4f9f688451157e265aa5bdef67 /source4/scripting | |
parent | 00e79ceb49d2e21acd90ffa21b931205ff012ef1 (diff) | |
download | samba-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/scripting')
-rw-r--r-- | source4/scripting/ejs/smbcalls_ldb.c | 2 |
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"); |