Browse Source

Non-functional () added to suppress compiler warning

Neal Wilson 9 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,7 +396,7 @@ void PhidgetsTemperatureSensor::start()
396 396
 	createDevice(&device);
397 397
 	openDevice(device, -1);
398 398
 	int error;
399
-	if(error = waitForOpen(device, 10000))
399
+	if((error = waitForOpen(device, 10000)))
400 400
 	{
401 401
 		closeDevice(device);
402 402
 		deleteDevice(device);

Loading…
Cancel
Save