File iterate-all-public-controls.diff of Package kdetv
--- kdetv/kvideoio/v4l2dev.cpp +++ kdetv/kvideoio/v4l2dev.cpp @@ -192,7 +192,7 @@ V4L2Dev::V4L2Dev(int fd, const QString& name, bool supportsReadWrite) DEBUG << "Enumerating public controls: " << endl; ok = true; for(int i=V4L2_CID_BASE; - ok && (i < V4L2_CID_LASTP1); + i < V4L2_CID_LASTP1; i++) { struct v4l2_queryctrl desc; memset(&desc, 0, sizeof(desc));