From 09e00bbdc18741c20f2eeba83da742f056115789 Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Sun, 29 May 2005 12:41:59 +0000
Subject: r7078: - fix an uninitialised variable in smbscript

- fixed handle passing in the smb/ejs interface calls, so they can be called
  safely from esp
(This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
---
 source4/scripting/ejs/smbscript.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source4/scripting/ejs/smbscript.c')

diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c
index 3378885147..021dafa4ae 100644
--- a/source4/scripting/ejs/smbscript.c
+++ b/source4/scripting/ejs/smbscript.c
@@ -33,7 +33,7 @@ void ejs_exception(const char *reason)
  int main(int argc, const char *argv[])
 {
 	EjsId eid;
-	EjsHandle handle;
+	EjsHandle handle = 0;
 	MprVar result;
 	char *emsg;
 	TALLOC_CTX *mem_ctx = talloc_new(NULL);
-- 
cgit