MSVC provides a compiler declaration to declare that a function never returns. This declaration is required in front of the function definition rather than at the end, but fortunately gcc is compatible with this location as well. Explicit returns are no longer required after calls to test_die. Signed-off-by: Julio Espinoza-Sokal <julioes@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
.gitignore | Loading commit data... | |
Makefile | Loading commit data... | |
NAMING | Loading commit data... | |
t0001-errno.c | Loading commit data... | |
t0002-refcnt.c | Loading commit data... | |
t0003-strutil.c | Loading commit data... | |
t0020-dirent.c | Loading commit data... | |
t0101-hash.c | Loading commit data... | |
t0101-oid.c | Loading commit data... | |
t0102-objtype.c | Loading commit data... | |
t0103-objhash.c | Loading commit data... | |
t0201-existsloose.c | Loading commit data... | |
t0202-readloose.c | Loading commit data... | |
t0203-readloose.c | Loading commit data... | |
t0301-write.c | Loading commit data... | |
test_helpers.c | Loading commit data... | |
test_helpers.h | Loading commit data... | |
test_lib.c | Loading commit data... | |
test_lib.h | Loading commit data... | |
test_main.c | Loading commit data... |