got rid of compilation warnings
This commit is contained in:
1 parent
76250afac9
commit
5f95db72b3
2 files changed
+2
-2
No files matched your search
@@ -212,7 +212,7 @@ $(DIR_ACME) $(SRC_ACME) $(HDR_ACME):
|
||||
$(TOOL_ASSEMBLER): $(DIR_ACME) $(SRC_ACME) $(HDR_ACME)
|
||||
@mkdir -p build/tools
|
||||
echo $(OUT_ACME)
|
||||
$(CC) -o $(TOOL_ASSEMBLER) $(SRC_ACME) -lm -I./assembler/acme/src
|
||||
$(CC) -o $(TOOL_ASSEMBLER) $(SRC_ACME) -lm -w -I./assembler/acme/src
|
||||
|
||||
$(TOOL_PNGPREPARE): tools/pngprepare.c
|
||||
@mkdir -p build/tools
|
||||
|
||||
+1
-1
@@ -245,7 +245,7 @@ int main(int argc,char **argv)
|
||||
if (f) {
|
||||
// Get explanation why this match is irrelevant
|
||||
char line[1024]; line[0]=0;
|
||||
fgets(line,1024,f);
|
||||
if (0 == fgets(line,1024,f)) fprintf(stderr,"Warning: null fgets result\n");
|
||||
while (line[0]&&line[strlen(line)-1]=='\r') line[strlen(line)-1]=0;
|
||||
while (line[0]&&line[strlen(line)-1]=='\n') line[strlen(line)-1]=0;
|
||||
if (verbose)
|
||||
|
||||
Reference in new issue
Block a user