mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-12 19:34:40 +08:00
tests: test-argv-iter.c: avoid declaration-after-stmt
* gl/tests/test-argv-iter.c: Move declaration "up", so as not to ruffle feathers of crufty compilers. We accommodate such compilers here solely because this module may migrate to gnulib. Tiny patch by Matthew Woehlke.
This commit is contained in:
parent
a8fde98844
commit
00f84872e4
@ -72,6 +72,7 @@ main ()
|
||||
{
|
||||
FILE *fp;
|
||||
struct argv_iterator *ai;
|
||||
size_t n_found = 0;
|
||||
if (use_stream)
|
||||
{
|
||||
/* Generate an identical list to be read via FP. */
|
||||
@ -85,7 +86,6 @@ main ()
|
||||
}
|
||||
ASSERT (ai);
|
||||
|
||||
size_t n_found = 0;
|
||||
while (1)
|
||||
{
|
||||
enum argv_iter_err ai_err;
|
||||
|
Loading…
Reference in New Issue
Block a user