From: Egbert Eich <e...@suse.com> Pinning variables to some value to fix warning about uninitialized variable.
Signed-off-by: Egbert Eich <e...@suse.com> --- test/wacom-tests.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/wacom-tests.c b/test/wacom-tests.c index 743bd2c..f44d3ab 100644 --- a/test/wacom-tests.c +++ b/test/wacom-tests.c @@ -247,7 +247,9 @@ test_initial_size(void) WacomDeviceRec priv = {0}; WacomCommonRec common = {0}; - int minx, maxx, miny, maxy, xres, yres; + /* pin to some numbers */ + int xres = 1920, yres = 1600; + int minx, maxx = 2 * xres, miny, maxy = 2 * yres; info.private = &priv; priv.common = &common; -- 1.8.1.4 ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel