[kaffe] CVS kaffe (robilad): gcc 4 warning fixlet

Kaffe CVS cvs-commits at kaffe.org
Wed Apr 27 02:46:10 PDT 2005


PatchSet 6426 
Date: 2005/04/27 09:41:24
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
gcc 4 warning fixlet

2005-04-27  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/exception.c (dispatchException):
        Initialize handler to 0 to fix gcc 4 warning.

Members: 
	ChangeLog:1.3954->1.3955 
	kaffe/kaffevm/exception.c:1.96->1.97 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3954 kaffe/ChangeLog:1.3955
--- kaffe/ChangeLog:1.3954	Wed Apr 27 08:50:34 2005
+++ kaffe/ChangeLog	Wed Apr 27 09:41:24 2005
@@ -1,5 +1,10 @@
 2005-04-27  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/exception.c (dispatchException):
+	Initialize handler to 0 to fix gcc 4 warning.
+
+2005-04-27  Dalibor Topic  <robilad at kaffe.org>
+
 	* FAQ/FAQ.automake,
 	developers/autogen.sh: UÃpdated to use libtool 1.5.16.
 
Index: kaffe/kaffe/kaffevm/exception.c
diff -u kaffe/kaffe/kaffevm/exception.c:1.96 kaffe/kaffe/kaffevm/exception.c:1.97
--- kaffe/kaffe/kaffevm/exception.c:1.96	Sun Apr 24 15:10:46 2005
+++ kaffe/kaffe/kaffevm/exception.c	Wed Apr 27 09:41:24 2005
@@ -416,7 +416,7 @@
 	 */
 	for (frame = baseFrame; frame->meth != ENDOFSTACK; frame++) {
 		bool 			foundHandler;
-		uintp 			handler;
+		uintp 			handler = 0;
 		Hjava_lang_Object*	obj;
 
 		/*




More information about the kaffe mailing list