template.c: remove condition duplicate
This commit is contained in:
parent
068849fe5b
commit
67ab00c084
@ -134,7 +134,7 @@ main(void)
|
|||||||
// * write WAVE headers
|
// * write WAVE headers
|
||||||
// 1. open file
|
// 1. open file
|
||||||
FILE* output_file = fopen(OUTPUT_FILE, "wb");
|
FILE* output_file = fopen(OUTPUT_FILE, "wb");
|
||||||
if (output_file == NULL || !output_file) {
|
if (output_file == NULL) {
|
||||||
perror("fopen");
|
perror("fopen");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user