[PATCH] test: remove unneeded printf statements from misc.c
Alan Coopersmith
alan.coopersmith at oracle.com
Thu Nov 10 15:21:50 PST 2011
On 11/10/11 14:59, Peter Hutterer wrote:
> Leftover from debugging, not really needed in a test.
>
> Signed-off-by: Peter Hutterer<peter.hutterer at who-t.net>
> ---
> test/misc.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/test/misc.c b/test/misc.c
> index d98449b..1f6cb9a 100644
> --- a/test/misc.c
> +++ b/test/misc.c
> @@ -76,7 +76,6 @@ static void dix_update_desktop_dimensions(void)
>
> #define assert_dimensions(_x, _y, _w, _h) \
> update_desktop_dimensions(); \
> - printf("%d %d %d %d\n", screenInfo.x, screenInfo.y, screenInfo.width, screenInfo.height); \
> assert(screenInfo.x == _x); \
> assert(screenInfo.y == _y); \
> assert(screenInfo.width == _w); \
> @@ -88,8 +87,6 @@ static void dix_update_desktop_dimensions(void)
> screenInfo.screens[idx]->width = _w; \
> screenInfo.screens[idx]->height = _h; \
>
> - printf("Testing\n");
> -
> /* single screen */
> screenInfo.numScreens = 1;
> set_screen(0, x, y, w, h);
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list