summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2021-02-16 19:38:34 -0800
committerlhchavez <lhchavez@lhchavez.com>2021-08-08 19:08:59 -0700
commit9eb17d460cd681bbc14d56ed8fdf440bc69b5456 (patch)
treef77d3a337a5d053404b49e686602dc611d417854 /src/cc-compat.h
parente65229ee972c113413eeca77853213352129bd47 (diff)
downloadlibgit2-9eb17d460cd681bbc14d56ed8fdf440bc69b5456.tar.gz
Introduce GIT_WARN_UNUSED_RESULT
This change adds the GIT_WARN_UNUSED_RESULT annotation, which makes the compiler warn when a return result is not used. This avoids bugs.
Diffstat (limited to 'src/cc-compat.h')
0 files changed, 0 insertions, 0 deletions