From 459a0919a2f2097655525530d49ad765fc263c79 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 14 Mar 2006 06:55:31 +0000
Subject: [PATCH] Bug-fix: js_global.c(786) : warning C4700: local variable
 'crcount' used without having been initialized

---
 src/sbbs3/js_global.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/js_global.c b/src/sbbs3/js_global.c
index 3e62c8ebce..b40a8d19c7 100644
--- a/src/sbbs3/js_global.c
+++ b/src/sbbs3/js_global.c
@@ -712,7 +712,7 @@ js_word_wrap(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
 {
 	int32		l,len=79;
 	int32		oldlen=79;
-	int32		crcount;
+	int32		crcount=0;
 	JSBool		handle_quotes=JS_TRUE;
 	ulong		i,k,t;
 	int			ocol=1;
-- 
GitLab