'for' loop initial declarations are only allowed in C99 mode.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Fri, 17 Jun 2016 10:27:02 +0000 (19:27 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Fri, 17 Jun 2016 10:27:02 +0000 (19:27 +0900)
descriptor.c

index 19b0492dee98d3118aadfd545a46932d37c2f8b8..723b2fcc029b453aec92e9d297340961a3ee7d37 100644 (file)
@@ -114,10 +114,11 @@ void  TI_Create_IH(TABLE_INFO *ti)
 void   TI_Destroy_IH(TABLE_INFO *ti)
 {
    InheritanceClass    *ih;
+   int         i;
 
    if (NULL == (ih = ti->ih))
        return;
-   for (int i = 0; i < ih->count; i++)
+   for (i = 0; i < ih->count; i++)
    {
        NULL_THE_NAME(ih->inf[i].fullTable);
    }