X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fpair_content.c;h=fc5926b50386096708e78e4ad639aedef847ca64;hp=1c9e2ab91ebfe750b981abcd808a78e88d0e9dca;hb=60cbc89987842cf6036aabced6618988b5117810;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d diff --git a/test/pair_content.c b/test/pair_content.c index 1c9e2ab9..fc5926b5 100644 --- a/test/pair_content.c +++ b/test/pair_content.c @@ -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: pair_content.c,v 1.12 2019/01/21 01:05:22 tom Exp $ + * $Id: pair_content.c,v 1.14 2020/02/02 23:34:34 tom Exp $ */ #define NEED_TIME_H @@ -237,7 +237,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) { @@ -291,6 +290,7 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) } } } else { + int repeat; for (repeat = 0; repeat < r_opt; ++repeat) { run_test();