Closed buserror closed 1 year ago
I appreciate you bringing my attention to this! As mentioned in a chat on the AppleFritter Discord, I went another way and just removed the -Werror (commit aa4c52a9, now present in bobbin 0.4.1), which I really oughtn't have left in for production (pre)releases. I now specify CFLAGS=-Werror
in my ./configure
invocation, instead.
I've now added commit acdfb9b6, which should additionally shut up the warning message for that (untested). I'd rather do that then write the code in a slightly silly way, that I then feel compelled to explain to the reader.
Thanks again, and hope you find this project helpful!
This is a minor change to fix a warning (and therefore an error with -Werror on recent gcc. Basically the dumb warning disappears if you at least 'test' the result of snprintf()