Those happens with "gcc -Wformat-zero-length". Since passing NULL does not generate a warning (as __attribute__((printf())) does not imply nonull), modify status_printf/status_printf_ln to allow a NULL format and update calls with an empty string. Benoit Pierre (2): status: allow NULL fmt for status_printf/status_vprintf_ln fix status_printf_ln calls "zero-length format" warnings builtin/commit.c | 2 +- wt-status.c | 23 ++++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) -- 1.9.0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html