1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00

r9566: fix an uninitialised variable

This commit is contained in:
Andrew Tridgell
2005-08-24 08:28:49 +00:00
committed by Gerald (Jerry) Carter
parent 691d6a04d7
commit 7082440a70

View File

@@ -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");