diff options
author | schu <schu-github@schulog.org> | 2011-10-30 13:48:00 +0100 |
---|---|---|
committer | schu <schu-github@schulog.org> | 2011-10-30 13:48:00 +0100 |
commit | ec9079443c874fe1711acefb22b3fc606484c786 (patch) | |
tree | ee42e9446cf8200097611d2b20e31467cf8e8c9e /include/git2/common.h | |
parent | d3104fa0a3f3711729b45346e475354440d46cc3 (diff) | |
download | libgit2-ec9079443c874fe1711acefb22b3fc606484c786.tar.gz |
test_helpers: do not rely on assert
The functions loose_object_mode and loose_object_dir_mode call stat
inside an assert statement which isn't evaluated when compiling in
Release mode (NDEBUG) and leads to failing tests. Replace it.
Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'include/git2/common.h')
0 files changed, 0 insertions, 0 deletions