summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2011-06-24 09:14:10 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2011-06-24 09:20:18 +0800
commitf56de7ea7bfb93f17482a8755186ea0c7c6be7cd (patch)
tree955f76051cb60dc3eda08f9ac9dc6365b3c8bb83
parent3c98acb5dcb3026da570634add4220e8bf0b9e6b (diff)
va/test: return a value to silence compiler waring
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--test/encode/h264encode_x11.c2
-rw-r--r--test/putsurface/putsurface_x11.c2
2 files changed, 3 insertions, 1 deletions
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;
}