On Thu, Jul 21, 2011 at 02:59:31PM -0700, Junio C Hamano wrote:
Jeff King [off-list ref] writes:
quoted
diff --git a/credential.c b/credential.c
new file mode 100644
index 0000000..c403289
--- /dev/null
+++ b/credential.c
...
+void credential_fill(struct credential *c, const struct string_list *methods)
+{
+ ...
+ }
+ die(err.buf);
credential.c:195: error: format not a string literal and no format arguments
This needs to be
die("%s", err.buf);
Thanks, silly me. I'm surprised I didn't get a warning, as I compile
with -Wall. Is there an extra flag you need to give gcc?
-Peff