test-pexecute.c (TEST_PEX_RUN): Move variable declaration before statement.

* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
	declaration before statement.

From-SVN: r97576
This commit is contained in:
Ian Lance Taylor 2005-04-04 20:58:00 +00:00 committed by Ian Lance Taylor
parent 71294e1e31
commit 2f84c996da
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-04-04 Ian Lance Taylor <ian@airs.com>
* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
declaration before statement.
2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* bcmp.c: Fix warnings and implement using memcmp. * bcmp.c: Fix warnings and implement using memcmp.

View File

@ -208,11 +208,12 @@ main (int argc, char **argv)
do \ do \
{ \ { \
int err; \ int err; \
const char *pex_run_err; \
if (trace) \ if (trace) \
fprintf (stderr, "Line %d: running %s %s\n", \ fprintf (stderr, "Line %d: running %s %s\n", \
__LINE__, EXECUTABLE, ARGV[0]); \ __LINE__, EXECUTABLE, ARGV[0]); \
const char *pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, \ pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, ARGV, OUTNAME, \
ARGV, OUTNAME, ERRNAME, &err); \ ERRNAME, &err); \
if (pex_run_err != NULL) \ if (pex_run_err != NULL) \
FATAL_ERROR (pex_run_err, err); \ FATAL_ERROR (pex_run_err, err); \
} \ } \