Fix -Werror -Wuninitialized warnings.

This commit is contained in:
Andrew Cagney
2001-03-23 22:48:44 +00:00
parent c3a27914b8
commit c65ecaf37b
4 changed files with 25 additions and 5 deletions

View File

@@ -90,7 +90,8 @@ java_value_print (value_ptr val, struct ui_file *stream, int format,
if (el_type == NULL)
{
CORE_ADDR element, next_element;
CORE_ADDR element;
CORE_ADDR next_element = -1; /* dummy initial value */
address += JAVA_OBJECT_SIZE + 4; /* Skip object header and length. */