aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/native/displayMultiple02.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/native/displayMultiple02.c')
-rw-r--r--src/test/native/displayMultiple02.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/test/native/displayMultiple02.c b/src/test/native/displayMultiple02.c
index cc6a8155b..df6666aff 100644
--- a/src/test/native/displayMultiple02.c
+++ b/src/test/native/displayMultiple02.c
@@ -11,23 +11,19 @@
static void testOrder(int reverseDestroyOrder, const char * msg);
-static int useXInitThreads = 0;
static int useXLockDisplay = 0;
int main(int nargs, char **vargs) {
int arg=1;
while(arg<nargs) {
- if(0 == strcmp(vargs[arg], "-xthreads")) {
- useXInitThreads = 1;
- } else if(0 == strcmp(vargs[arg], "-xlock")) {
+ if(0 == strcmp(vargs[arg], "-xlock")) {
useXLockDisplay = 1;
}
arg++;
}
- fprintf(stderr, "-xthreads (XInitThreads): %d\n", useXInitThreads);
fprintf(stderr, "-xlock (XLockDisplay): %d\n", useXLockDisplay);
- if( useXInitThreads ) {
+ if( useXLockDisplay ) {
XInitThreads();
}
testOrder(0, "Normal order");