test: Silence MSVC warnings
authorAndrea Canciani <ranma42@gmail.com>
Thu, 24 Feb 2011 11:53:39 +0000 (12:53 +0100)
committerAndrea Canciani <ranma42@gmail.com>
Mon, 28 Feb 2011 09:38:02 +0000 (10:38 +0100)
commit9ebde285fa990bfa1524f166fbfb1368c346b14a
tree9aa3df38ee24e849d84410a219049eb3bc225354
parent8868778ea1fdc8e70da76b3b00ea78106c5840d8
test: Silence MSVC warnings

MSVC does not notice non-returning functions (abort() / assert(0))
and warns about paths which end with them in non-void functions:

c:\cygwin\home\ranma42\code\fdo\pixman\test\fetch-test.c(114) :
warning C4715: 'reader' : not all control paths return a value
c:\cygwin\home\ranma42\code\fdo\pixman\test\stress-test.c(133) :
warning C4715: 'real_reader' : not all control paths return a value
c:\cygwin\home\ranma42\code\fdo\pixman\test\composite.c(431) :
warning C4715: 'calc_op' : not all control paths return a value

These warnings can be silenced by adding a return after the
termination call.
test/composite.c
test/fetch-test.c
test/stress-test.c