1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #1558 from SpecLad:Wparentheses-equality

This commit is contained in:
Roman Donchenko
2013-10-04 16:32:08 +04:00
committed by OpenCV Buildbot
+2 -4
View File
@@ -856,8 +856,7 @@ static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName)
detect_v4l = try_init_v4l(capture, deviceName);
if ((detect_v4l == -1)
)
if (detect_v4l == -1)
{
fprintf (stderr, "HIGHGUI ERROR: V4L"
": device %s: Unable to open for READ ONLY\n", deviceName);
@@ -865,8 +864,7 @@ static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName)
return -1;
}
if ((detect_v4l <= 0)
)
if (detect_v4l <= 0)
{
fprintf (stderr, "HIGHGUI ERROR: V4L"
": device %s: Unable to query number of channels\n", deviceName);