Browse Source

Non-functional () added to suppress compiler warning

Neal Wilson 10 years ago
parent
commit
0bb8cef3f1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/phidgets.w

+ 1
- 1
src/phidgets.w View File

396
 	createDevice(&device);
396
 	createDevice(&device);
397
 	openDevice(device, -1);
397
 	openDevice(device, -1);
398
 	int error;
398
 	int error;
399
-	if(error = waitForOpen(device, 10000))
399
+	if((error = waitForOpen(device, 10000)))
400
 	{
400
 	{
401
 		closeDevice(device);
401
 		closeDevice(device);
402
 		deleteDevice(device);
402
 		deleteDevice(device);

Loading…
Cancel
Save