shithub: riscv

Download patch

ref: e1cd22504e26d0a732a4219d38d6e5fe3e03aa21
parent: fcb6d6ec65fb82c3b6b936dd148df72b9955994b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Mar 12 21:01:32 EDT 2024

audio/flac: remove unused var; add a missing newline

--- a/sys/src/cmd/audio/flacenc/flacenc.c
+++ b/sys/src/cmd/audio/flacenc/flacenc.c
@@ -64,7 +64,6 @@
 	int i, n, j, r, be, bits, chan, level, sfreq, framesz;
 	FLAC__StreamMetadata_VorbisComment_Entry vc;
 	FLAC__StreamMetadata *m[2];
-	uint32_t beef = 0xdeadbeef;
 	FLAC__StreamEncoder *enc;
 	FLAC__int32 x, *o, *obuf;
 	char *p, *fmt;
@@ -97,7 +96,7 @@
 				be = 1;
 			}else{
 Bad:
-				fprintf(stderr, "bad format: %s", fmt);
+				fprintf(stderr, "bad format: %s\n", fmt);
 				exit(1);
 			}
 		}