aboutsummaryrefslogtreecommitdiff
path: root/libjava/interpret.cc
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2005-04-22 19:02:41 +0000
committerAnthony Green <green@gcc.gnu.org>2005-04-22 19:02:41 +0000
commitf00fac9d2ffa5ea91809ef1ec85aae415889429c (patch)
treedf2081a26cef9b6f28e32a75d53ca8b43c1631b5 /libjava/interpret.cc
parent9f12b095b1916f35ed89eaffdb5b0ac0e4074e8d (diff)
downloadgcc-f00fac9d2ffa5ea91809ef1ec85aae415889429c.zip
gcc-f00fac9d2ffa5ea91809ef1ec85aae415889429c.tar.gz
gcc-f00fac9d2ffa5ea91809ef1ec85aae415889429c.tar.bz2
jni.cc (natrehash): Don't bother clearing memory again.
2005-04-22 Anthony Green <green@redhat.com> * jni.cc (natrehash): Don't bother clearing memory again. * interpret.cc (do_allocate_static_fields): Ditto. * java/lang/natString.cc (rehash): Ditto. From-SVN: r98583
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r--libjava/interpret.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc
index a2bcbb8..e7d8992 100644
--- a/libjava/interpret.cc
+++ b/libjava/interpret.cc
@@ -3751,7 +3751,6 @@ _Jv_InterpreterEngine::do_allocate_static_fields (jclass klass,
_Jv_InterpClass *iclass = (_Jv_InterpClass *) klass->aux_info;
char *static_data = (char *) _Jv_AllocBytes (static_size);
- memset (static_data, 0, static_size);
for (int i = 0; i < klass->field_count; i++)
{