* prims.cc (process_gcj_properties): Don't increment i within LHS
of assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84957
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
+
+ * prims.cc (process_gcj_properties): Don't increment i within LHS
+ of assignment.
+
2004-07-19 Per Bothner <per@bothner.com>
Print -verbose:message on "loading", not initialization.
// Null terminate the strings.
while (_Jv_Environment_Properties[i].key)
{
- _Jv_Environment_Properties[i].key[_Jv_Environment_Properties[i].key_length] = 0;
- _Jv_Environment_Properties[i++].value[_Jv_Environment_Properties[i].value_length] = 0;
+ property_pair *prop = &_Jv_Environment_Properties[i];
+ prop->key[prop->key_length] = 0;
+ prop->value[prop->value_length] = 0;
+ i++;
}
}
}