summaryrefslogtreecommitdiff
path: root/libjava/interpret.cc
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-22 19:02:41 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-22 19:02:41 +0000
commit0be7011340286a593c5c6bbc0c575faff8f12def (patch)
treedf2081a26cef9b6f28e32a75d53ca8b43c1631b5 /libjava/interpret.cc
parent22a2c138e3cef3c33a552d1f927260cc45cddbae (diff)
downloadgcc-0be7011340286a593c5c6bbc0c575faff8f12def.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98583 138bc75d-0d04-0410-961f-82ee72b054a4
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 a2bcbb84084..e7d8992f12c 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++)
{