From f56de7ea7bfb93f17482a8755186ea0c7c6be7cd Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Fri, 24 Jun 2011 09:14:10 +0800 Subject: [PATCH] va/test: return a value to silence compiler waring Signed-off-by: Xiang, Haihao --- test/encode/h264encode_x11.c | 2 +- test/putsurface/putsurface_x11.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/encode/h264encode_x11.c b/test/encode/h264encode_x11.c index a30e667..7f9494c 100644 --- a/test/encode/h264encode_x11.c +++ b/test/encode/h264encode_x11.c @@ -93,7 +93,7 @@ static int display_surface(int frame_id, int *exit_encode) } } - return; + return 0; } #include "h264encode_common.c" diff --git a/test/putsurface/putsurface_x11.c b/test/putsurface/putsurface_x11.c index 3912d1a..db503b4 100644 --- a/test/putsurface/putsurface_x11.c +++ b/test/putsurface/putsurface_x11.c @@ -161,6 +161,8 @@ static int check_window_event(void *win_display, void *drawable, int *width, int printf("Scale window to %dx%d\n", width, height); } #endif + + return 0; } -- 2.7.4