c语言continue的使用提示错误continue非法使用,请问错误在哪

continue不是已经在for循环里面使用了吗?提示非法使用continue


int main()
{
    int i, total;
    for (total = 0, i = 1; i >= 1; i++);
    {
        if (i % 2 == 0)
        {
            continue;
        }
        total = total * i;
    }
    printf("%d\n", total);
}

for循环那一行多加了分号

for后面的分号去掉