mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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
This commit is contained in:
committed by
Anthony Green
parent
9f12b095b1
commit
f00fac9d2f
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user