diff options
author | lhchavez <lhchavez@lhchavez.com> | 2021-02-16 19:38:34 -0800 |
---|---|---|
committer | lhchavez <lhchavez@lhchavez.com> | 2021-08-08 19:08:59 -0700 |
commit | 9eb17d460cd681bbc14d56ed8fdf440bc69b5456 (patch) | |
tree | f77d3a337a5d053404b49e686602dc611d417854 /src/cc-compat.h | |
parent | e65229ee972c113413eeca77853213352129bd47 (diff) | |
download | libgit2-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