X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fcolor_content.c;h=8b11982a2bbcc3e3f5f033451ccfbc0508260872;hb=97893bbc7248f5e4009f32c3afc7ca575172c5f3;hp=bb1f076af4f40f1be0bf32a51810b54937a56187;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d;p=ncurses.git diff --git a/test/color_content.c b/test/color_content.c index bb1f076a..8b11982a 100644 --- a/test/color_content.c +++ b/test/color_content.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: color_content.c,v 1.10 2019/01/21 01:05:44 tom Exp $ + * $Id: color_content.c,v 1.11 2019/08/17 21:29:13 tom Exp $ */ #define NEED_TIME_H @@ -251,7 +251,6 @@ int main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) { int i; - int repeat; while ((i = getopt(argc, argv, "f:il:npr:sx")) != -1) { switch (i) { @@ -305,6 +304,7 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) } } } else { + int repeat; for (repeat = 0; repeat < r_opt; ++repeat) { run_test();