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