* fixinc/fixincl.c: Move declarations of 'pz_fname' and
'pz_scan' into scope of entire function. Only affects
compiles with -DDEBUG.
From-SVN: r31564
+2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
+
+ * fixinc/fixincl.c: Move declarations of 'pz_fname' and
+ 'pz_scan' into scope of entire function. Only affects
+ compiles with -DDEBUG.
+
2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
#ifdef DEBUG
static const char z_failed[] = "not applying %s to %s - test %d failed\n";
#endif
+ const char *pz_fname = pz_curr_file;
+ const char *pz_scan = p_fixd->file_list;
int test_ct;
tTestDesc *p_test;
/* IF there is a file name restriction,
THEN ensure the current file name matches one in the pattern */
- if (p_fixd->file_list != (char *) NULL)
+ if (pz_scan != (char *) NULL)
{
- const char *pz_fname = pz_curr_file;
- const char *pz_scan = p_fixd->file_list;
size_t name_len;
while ((pz_fname[0] == '.') && (pz_fname[1] == '/'))