Przeglądaj źródła

squelch gcc warning

SCCS-file: zic.c
SCCS-SID: 8.25
Arthur David Olson 15 lat temu
rodzic
commit
be2bd16830
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      zic.c

+ 2 - 1
zic.c

@@ -1639,10 +1639,11 @@ const char * const	string;
 					mrudst = types[i];
 				else	mrustd = types[i];
 			for (i = 0; i < typecnt; ++i)
-				if (writetype[i])
+				if (writetype[i]) {
 					if (isdsts[i])
 						hidst = i;
 					else	histd = i;
+				}
 			if (hidst >= 0 && mrudst >= 0 && hidst != mrudst &&
 				gmtoffs[hidst] != gmtoffs[mrudst]) {
 					isdsts[mrudst] = -1;