1
0
mirror of https://github.com/git/git.git synced 2025-04-02 01:31:25 +00:00
git/builtin
Ramsay Jones 4e0d7a8018 msvc: Fix some "expr evaluates to function" compiler warnings
In particular, the following warning is issued while compiling
notes.c:

    notes.c(927) : warning C4550: expression evaluates to a \
function which is missing an argument list

along with identical warnings on lines 928, 1016 and 1017.

In order to suppress the warning, we change the definition of
combine_notes_fn, so that the symbol type is an (explicit)
"pointer to function ...".  As a result, several other
declarations need some minor fix-up to take account of the
new typedef.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-06-24 09:42:12 -07:00
..
2010-03-10 15:32:02 -08:00
2010-03-28 17:42:58 -07:00
2010-04-09 22:43:18 -07:00
2010-04-13 18:15:08 -07:00
2010-06-05 09:14:31 -07:00
2010-03-21 16:23:44 -07:00
2010-03-10 15:32:34 -08:00
2010-04-09 22:43:18 -07:00
2010-04-19 22:41:30 -07:00
2010-03-31 15:14:27 -07:00
2010-03-15 00:58:24 -07:00
2010-03-10 15:25:18 -08:00