[Freeswitch-svn] [commit] r3293 - freeswitch/trunk/src/mod/languages/mod_spidermonkey

Freeswitch SVN mikej at freeswitch.org
Thu Nov 9 11:01:48 EST 2006


Author: mikej
Date: Thu Nov  9 11:01:47 2006
New Revision: 3293

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

Log:
Initialize.  Was not set in some codepaths.

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Thu Nov  9 11:01:47 2006
@@ -2639,7 +2639,7 @@
 
 static int eval_some_js(char *code, JSContext *cx, JSObject *obj, jsval *rval) 
 {
-	JSScript *script;
+	JSScript *script = NULL;
 	char *cptr;
 	char *path = NULL;
 	int res = 0;



More information about the Freeswitch-svn mailing list