--- server/tests/test_empty_success.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/server/tests/test_empty_success.c b/server/tests/test_empty_success.c index ccabe6b..0176a52 100644 --- a/server/tests/test_empty_success.c +++ b/server/tests/test_empty_success.c @@ -4,9 +4,15 @@ #include <spice.h> +struct SpiceTimer { + int a,b; +}; + SpiceTimer* timer_add(SpiceTimerFunc func, void *opaque) { - return NULL; + static struct SpiceTimer t = {0,}; + + return &t; } void timer_start(SpiceTimer *timer, uint32_t ms) @@ -57,5 +63,7 @@ int main(void) spice_server_set_port(server, 5911); spice_server_init(server, &core); + spice_server_destroy(server); + return 0; } -- 1.7.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel