summaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index b68c3bb887f..cf4d0475044 100644
--- a/libjava/jni.cc
+++ b/libjava/jni.cc
@@ -1847,7 +1847,6 @@ natrehash ()
nathash =
(JNINativeMethod *) _Jv_AllocBytes (nathash_size
* sizeof (JNINativeMethod));
- memset (nathash, 0, nathash_size * sizeof (JNINativeMethod));
}
else
{
@@ -1857,7 +1856,6 @@ natrehash ()
nathash =
(JNINativeMethod *) _Jv_AllocBytes (nathash_size
* sizeof (JNINativeMethod));
- memset (nathash, 0, nathash_size * sizeof (JNINativeMethod));
for (int i = 0; i < savesize; ++i)
{