Fix several VC++ warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@39 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -99,7 +99,6 @@ static char* Find (const char* Path, const char* File)
|
||||
*/
|
||||
{
|
||||
const char* P;
|
||||
unsigned Count;
|
||||
int Max;
|
||||
char PathName [FILENAME_MAX];
|
||||
|
||||
@@ -118,7 +117,7 @@ static char* Find (const char* Path, const char* File)
|
||||
/* Start the search */
|
||||
while (*P) {
|
||||
/* Copy the next path element into the buffer */
|
||||
Count = 0;
|
||||
int Count = 0;
|
||||
while (*P != '\0' && *P != ';' && Count < Max) {
|
||||
PathName [Count++] = *P++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user