]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/color_content.c
ncurses 6.2 - patch 20200321
[ncurses.git] / test / color_content.c
index bb1f076af4f40f1be0bf32a51810b54937a56187..0f619f661e63ff4391b15fb28e6b219bd8edaa67 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2018,2019 Free Software Foundation, Inc.                   *
+ * Copyright 2018-2019,2020 Thomas E. Dickey                                *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -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.12 2020/02/02 23:34:34 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();