Fix unreferenced local variable warning

This commit is contained in:
Zeex 2015-04-07 14:25:16 +06:00
parent 2df5c68af1
commit c0cb31de01

View File

@ -138,7 +138,6 @@ static char extensions[][6] = { "", ".inc", ".p", ".pawn" };
char *path;
char *real_path;
char *ext;
char *ptr;
int ext_idx;
fp=NULL;
@ -157,6 +156,7 @@ static char extensions[][6] = { "", ".inc", ".p", ".pawn" };
strcpy(real_path,path);
#if DIRSEP_CHAR!='\\'
if (pc_compat) {
char *ptr;
/* convert backslashes to native directory separators for maximum
* compatibility with the Windows compiler
*/