summaryrefslogtreecommitdiffstats
path: root/t/t9500-gitweb-standalone-no-errors.sh
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2013-10-06 22:50:00 +0200
committerJonathan Nieder <jrnieder@gmail.com>2013-10-15 01:16:00 +0200
commitec145c9c2ef0ddf0ca8b57b968054f4db9de63b3 (patch)
treefd8e7e7c352afb908d6d0802998cf5658e180202 /t/t9500-gitweb-standalone-no-errors.sh
parentrefs.c: spell NULL pointer as NULL (diff)
downloadgit-ec145c9c2ef0ddf0ca8b57b968054f4db9de63b3.tar.xz
git-ec145c9c2ef0ddf0ca8b57b968054f4db9de63b3.zip
wrapper.c: only define gitmkstemps if needed
When the NO_MKSTEMPS build variable is not set, the gitmkstemps function is dead code. Use a preprocessor conditional to only include the definition when needed. Noticed by sparse. ("'gitmkstemps' was not declared. Should it be static?") Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t9500-gitweb-standalone-no-errors.sh')
0 files changed, 0 insertions, 0 deletions