--- parser3/src/main/pa_dir.C 2001/09/26 10:32:26 1.7 +++ parser3/src/main/pa_dir.C 2012/03/16 09:24:13 1.21 @@ -1,18 +1,18 @@ /** @file Parser: directory scanning for different OS-es. - Copyright (c) 2000,2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: pa_dir.C,v 1.7 2001/09/26 10:32:26 parser Exp $ + Copyright (c) 2000-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) */ -#include "pa_dir.h" #include "pa_common.h" +#include "pa_dir.h" + +volatile const char * IDENT_PA_DIR_C="$Id: pa_dir.C,v 1.21 2012/03/16 09:24:13 moko Exp $" IDENT_PA_DIR_H; #ifdef WIN32 -bool findfirst(const char *_pathname, struct ffblk *_ffblk, int _attrib) { +bool findfirst(const char* _pathname, struct ffblk *_ffblk, int /*_attrib*/) { char mask[MAXPATH]; snprintf(mask, MAXPATH, "%s/*.*", _pathname); @@ -29,7 +29,7 @@ void findclose(struct ffblk *_ffblk) { #else -bool findfirst(const char *_pathname, struct ffblk *_ffblk, int _attrib) { +bool findfirst(const char* _pathname, struct ffblk *_ffblk, int /*_attrib*/) { strncpy(_ffblk->filePath, _pathname, MAXPATH-1); _ffblk->filePath[MAXPATH-1]=0; if(!(_ffblk->dir=opendir(_ffblk->filePath))) return true;