diff --git a/src/solaris/native/java/util/TimeZone_md.c b/src/solaris/native/java/util/TimeZone_md.c index 81b4642d8ea3da63c301aa373aad50b7f35c979d..a1f1dc37e8a7d1a4cc89d48e257da666483dc419 100644 --- a/src/solaris/native/java/util/TimeZone_md.c +++ b/src/solaris/native/java/util/TimeZone_md.c @@ -136,7 +136,8 @@ findZoneinfoFile(char *buf, size_t size, const char *dir) if (strcmp(dir, ZONEINFO_DIR) == 0) { /* fast path for 1st iteration */ - for (unsigned int i = 0; i < sizeof (popularZones) / sizeof (popularZones[0]); i++) { + unsigned int i; + for (i = 0; i < sizeof (popularZones) / sizeof (popularZones[0]); i++) { pathname = getPathName(dir, popularZones[i]); if (pathname == NULL) { continue;