This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: jni.cc


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to trunk to remove a workaround to avoid 
a compiler warning (unused argument) but produces a different 
compiler warning now (statement has no effect).


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/bq3KWSOgCCdjSDsRApw7AJwOYmqWvZhn4/+CoOg5PE4A9VwVjgCfTWpx
5sP6EuoRs7+uiv6kuBJr9Ac=
=2XI1
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2166
diff -u -b -B -r1.2166 ChangeLog
--- ChangeLog	22 Sep 2003 07:56:43 -0000	1.2166
+++ ChangeLog	22 Sep 2003 08:02:25 -0000
@@ -1,5 +1,10 @@
 2003-09-22  Michael Koch  <konqueror@gmx.de>
 
+	* jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
+	compiler warning but produces a different one now.
+
+2003-09-22  Michael Koch  <konqueror@gmx.de>
+
 	* java/net/InetAddress.java:
 	Moves around some code, reformats and adds documentation.
 	No functional changes.
Index: jni.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni.cc,v
retrieving revision 1.75
diff -u -b -B -r1.75 jni.cc
--- jni.cc	20 Aug 2003 19:37:21 -0000	1.75
+++ jni.cc	22 Sep 2003 08:02:25 -0000
@@ -2118,9 +2118,7 @@
           function = _Jv_FindSymbolInExecutable (buf + 1);
         }
     }
-#else /* WIN32 */
-  args_size;  /* Dummy statement to avoid unused parameter warning */
-#endif /* ! WIN32 */
+#endif /* WIN32 */
 
   if (function == NULL)
     {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]