diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-22 15:43:11 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-26 14:35:27 +0300 |
commit | 4f8dc1109dcdfa973466a038c16c07da5f6c16b4 (patch) | |
tree | 4b24627768070013abef2d7429cb2e8c94a4073a /test | |
parent | 64fd39f2f0ffbbdc2d5929047d260263d0962141 (diff) |
dix and others: remove unused arraySize field from ScreenInfo
Bizarre. This seems to never be used before. I left the field in ScreenInfo,
with another name. So, stop looking at it.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/xi2/protocol-common.c | 1 | ||||
-rw-r--r-- | test/xtest.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c index 2dff1ad6a..0afa55a40 100644 --- a/test/xi2/protocol-common.c +++ b/test/xi2/protocol-common.c @@ -141,7 +141,6 @@ static Bool device_cursor_init(DeviceIntPtr dev, ScreenPtr screen) { return TRUE static Bool set_cursor_pos(DeviceIntPtr dev, ScreenPtr screen, int x, int y, Bool event) { return TRUE; } void init_simple(void) { - screenInfo.arraySize = MAXSCREENS; screenInfo.numScreens = 1; screenInfo.screens[0] = &screen; diff --git a/test/xtest.c b/test/xtest.c index 572f5d2df..cc1188d7d 100644 --- a/test/xtest.c +++ b/test/xtest.c @@ -49,7 +49,6 @@ static void xtest_init_devices(void) /* random stuff that needs initialization */ memset(&screen, 0, sizeof(screen)); - screenInfo.arraySize = MAXSCREENS; screenInfo.numScreens = 1; screenInfo.screens[0] = &screen; screen.myNum = 0; |