mirror of https://github.com/xemu-project/xemu.git
Avoid warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fa1bdde4a3
commit
bd3a845439
|
@ -72,4 +72,5 @@ int main(void)
|
||||||
{
|
{
|
||||||
check_swap();
|
check_swap();
|
||||||
pass();
|
pass();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ static char *tst_cc_loc = NULL;
|
||||||
do { tst_cc_loc = "test_cc failed at " CURRENT_LOCATION; } while(0)
|
do { tst_cc_loc = "test_cc failed at " CURRENT_LOCATION; } while(0)
|
||||||
|
|
||||||
/* We need a real symbol to signal error. */
|
/* We need a real symbol to signal error. */
|
||||||
static void _err(void) {
|
void _err(void) {
|
||||||
if (!tst_cc_loc)
|
if (!tst_cc_loc)
|
||||||
tst_cc_loc = "tst_cc_failed\n";
|
tst_cc_loc = "tst_cc_failed\n";
|
||||||
_fail(tst_cc_loc);
|
_fail(tst_cc_loc);
|
||||||
|
|
Loading…
Reference in New Issue