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]

[PATCH] Add missing return value in dummyagent.c


Hi,

I'm committing this tiny patch as obvious (do we have such a rule?). It adds the missing return value from the Agent_OnLoad function defined in the jvmti testsuite's dummyagent.c.

Keith

ChangeLog
2007-06-09  Keith Seitz  <keiths@redhat.com>

        * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
        Add missing return value.

Index: testsuite/libjava.jvmti/dummyagent.c
===================================================================
--- testsuite/libjava.jvmti/dummyagent.c	(revision 125041)
+++ testsuite/libjava.jvmti/dummyagent.c	(working copy)
@@ -5,5 +5,6 @@
 {
   // nothing -- this is just a stub to get JVMTI properly
   // initialized
+  return 0;
 }
 

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