[kaffe] CVS kaffe (dalibor): Removed unused field to fix a compiler warning on powerpc-darwin

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Thu Oct 30 09:00:02 2003


PatchSet 4142 
Date: 2003/10/30 16:49:48
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed unused field to fix a compiler warning on powerpc-darwin

Members: 
	ChangeLog:1.1734->1.1735 
	libraries/clib/net/PlainDatagramSocketImpl.c:1.33->1.34 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1734 kaffe/ChangeLog:1.1735
--- kaffe/ChangeLog:1.1734	Thu Oct 30 16:25:23 2003
+++ kaffe/ChangeLog	Thu Oct 30 16:49:48 2003
@@ -16,6 +16,12 @@
 	
 2003-10-30  Dalibor Topic <robilad@kaffe.org>
 
+	* libraries/clib/net/PlainDatagramSocketImpl.c:
+	(optionNames) removed unused static field to fix
+	a small compiler warning on powerpc-darwin.
+	
+2003-10-30  Dalibor Topic <robilad@kaffe.org>
+
 	* libraries/clib/io/AudioPlayer.c:
 	(kaffe_applet_AudioPlayer_playFile) Changed bRead
 	type to ssize_t to fix compiler warning on
Index: kaffe/libraries/clib/net/PlainDatagramSocketImpl.c
diff -u kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.33 kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.34
--- kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.33	Thu Oct 30 16:22:37 2003
+++ kaffe/libraries/clib/net/PlainDatagramSocketImpl.c	Thu Oct 30 16:49:50 2003
@@ -55,23 +55,6 @@
   };
 
 #ifdef KAFFE_VMDEBUG
-static const struct {
-    int opt;
-    const char *name;
-} optionNames[] = {
-#ifdef SO_SNDBUF
-    { java_net_SocketOptions_SO_SNDBUF,		"SO_SNDBUF" },
-#endif
-#ifdef SO_RCVBUF
-    { java_net_SocketOptions_SO_RCVBUF,		"SO_RCVBUF" },
-#endif
-#ifdef SO_REUSEADDR
-    { java_net_SocketOptions_SO_REUSEADDR,	"SO_REUSEADDR" },
-#endif
-};
-#endif /*KAFFE_VMDEBUG*/
-
-#ifdef KAFFE_VMDEBUG
 /* Generate a string for an inet addr (in host form). */
 static char *
 ip2str(jint addr)