mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Fix set but unused variable
This commit is contained in:
parent
8328bbf51d
commit
2fdb1e6b0d
@ -397,7 +397,6 @@ static void ReadOptStats (const char* Name)
|
||||
/* Read the optimizer statistics file */
|
||||
{
|
||||
char Buf [256];
|
||||
unsigned Lines;
|
||||
|
||||
/* Try to open the file */
|
||||
FILE* F = fopen (Name, "r");
|
||||
@ -407,7 +406,6 @@ static void ReadOptStats (const char* Name)
|
||||
}
|
||||
|
||||
/* Read and parse the lines */
|
||||
Lines = 0;
|
||||
while (fgets (Buf, sizeof (Buf), F) != 0) {
|
||||
|
||||
char* B;
|
||||
@ -419,9 +417,6 @@ static void ReadOptStats (const char* Name)
|
||||
unsigned long TotalRuns;
|
||||
unsigned long TotalChanges;
|
||||
|
||||
/* Count lines */
|
||||
++Lines;
|
||||
|
||||
/* Remove trailing white space including the line terminator */
|
||||
B = Buf;
|
||||
Len = strlen (B);
|
||||
|
Loading…
x
Reference in New Issue
Block a user