summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-11-04 18:50:45 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-11-08 20:37:47 +0200
commitd312d0ba10f3740d45b50ef8bcfc48e751e694fc (patch)
treef9d45825774f25cacb1d2a84eca74631bdb8e837 /test
parent53eab996809e826bc914e4c34c78fe74d86f8dc4 (diff)
libcamera: Remove unneeded semicolons
Comply with the coding style by removing lots of unneeded semicolons. Fix a few other coding style violations on the lines touched by those fixes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r--test/camera/camera_test.cpp2
-rw-r--r--test/v4l2_subdevice/v4l2_subdevice_test.h4
-rw-r--r--test/v4l2_videodevice/v4l2_videodevice_test.cpp2
3 files changed, 5 insertions, 3 deletions
diff --git a/test/camera/camera_test.cpp b/test/camera/camera_test.cpp
index 0e105414..101e31fb 100644
--- a/test/camera/camera_test.cpp
+++ b/test/camera/camera_test.cpp
@@ -45,4 +45,4 @@ void CameraTest::cleanup()
cm_->stop();
delete cm_;
-};
+}
diff --git a/test/v4l2_subdevice/v4l2_subdevice_test.h b/test/v4l2_subdevice/v4l2_subdevice_test.h
index 96646a15..3bce6691 100644
--- a/test/v4l2_subdevice/v4l2_subdevice_test.h
+++ b/test/v4l2_subdevice/v4l2_subdevice_test.h
@@ -21,7 +21,9 @@ class V4L2SubdeviceTest : public Test
{
public:
V4L2SubdeviceTest()
- : scaler_(nullptr){};
+ : scaler_(nullptr)
+ {
+ }
protected:
int init() override;
diff --git a/test/v4l2_videodevice/v4l2_videodevice_test.cpp b/test/v4l2_videodevice/v4l2_videodevice_test.cpp
index 096f9649..577da4cb 100644
--- a/test/v4l2_videodevice/v4l2_videodevice_test.cpp
+++ b/test/v4l2_videodevice/v4l2_videodevice_test.cpp
@@ -99,4 +99,4 @@ void V4L2VideoDeviceTest::cleanup()
delete debayer_;
delete sensor_;
delete capture_;
-};
+}