]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rt/format-zero-length-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Mar 2020 18:21:21 +0000 (11:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Mar 2020 18:21:21 +0000 (11:21 -0700)
commit6125104b88e8bb0539b5d8a43bd0788922402724
treeb6e8fa3cf520864a1044945b21b05c838a35abe1
parent1ac37deba2608490642432f16a82c95c0abf01fa
parent7329d94be72654f7f211e1bfa5ce3dd6fd2dc1fa
Merge branch 'rt/format-zero-length-fix'

Recently we inadvertently added a few instances of using 0-width
format string to functions that we mark as printf-like without any
developers noticing.  The root cause was that the compiler warning
that is triggered by this is almost always useless and we disabled
the warning in our developer builds, but not for general public.
The new instances have been corrected, and the warning has been
resurrected in the developer builds.

* rt/format-zero-length-fix:
  config.mak.dev: re-enable -Wformat-zero-length
  rebase-interactive.c: silence format-zero-length warnings
rebase-interactive.c