summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2020-10-20 18:15:01 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-20 13:15:49 +0300
commit6c5792f7a8b29143fb55cea2ecfcd8598ce56cd9 (patch)
tree83b87d9d35b5ec8ddd20f7f20541fe23bde6743e
parentda0dd36149eaebd76251a2866603da3753909ff3 (diff)
android: Omit extra semicolons
The end semicolons with LOG_DECLARE_CATEGORY and LOG_DEFINE_CATEGORY are unnecessary. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/android/camera_device.cpp2
-rw-r--r--src/android/camera_hal_manager.cpp2
-rw-r--r--src/android/camera_metadata.cpp2
-rw-r--r--src/android/camera_stream.cpp2
-rw-r--r--src/android/camera_worker.cpp2
-rw-r--r--src/android/jpeg/encoder.h2
-rw-r--r--src/android/jpeg/encoder_libjpeg.cpp2
-rw-r--r--src/android/jpeg/post_processor_jpeg.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index d706cf4a..e9404c2f 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -129,7 +129,7 @@ const std::map<int, const Camera3Format> camera3FormatsMap = {
} /* namespace */
-LOG_DECLARE_CATEGORY(HAL);
+LOG_DECLARE_CATEGORY(HAL)
MappedCamera3Buffer::MappedCamera3Buffer(const buffer_handle_t camera3buffer,
int flags)
diff --git a/src/android/camera_hal_manager.cpp b/src/android/camera_hal_manager.cpp
index 2a33f9b1..189eda2b 100644
--- a/src/android/camera_hal_manager.cpp
+++ b/src/android/camera_hal_manager.cpp
@@ -16,7 +16,7 @@
using namespace libcamera;
-LOG_DECLARE_CATEGORY(HAL);
+LOG_DECLARE_CATEGORY(HAL)
/*
* \class CameraHalManager
diff --git a/src/android/camera_metadata.cpp b/src/android/camera_metadata.cpp
index f0da9ea9..edea48fe 100644
--- a/src/android/camera_metadata.cpp
+++ b/src/android/camera_metadata.cpp
@@ -11,7 +11,7 @@
using namespace libcamera;
-LOG_DEFINE_CATEGORY(CameraMetadata);
+LOG_DEFINE_CATEGORY(CameraMetadata)
CameraMetadata::CameraMetadata(size_t entryCapacity, size_t dataCapacity)
{
diff --git a/src/android/camera_stream.cpp b/src/android/camera_stream.cpp
index 1b8afa87..eae451ec 100644
--- a/src/android/camera_stream.cpp
+++ b/src/android/camera_stream.cpp
@@ -15,7 +15,7 @@
using namespace libcamera;
-LOG_DECLARE_CATEGORY(HAL);
+LOG_DECLARE_CATEGORY(HAL)
/*
* \class CameraStream
diff --git a/src/android/camera_worker.cpp b/src/android/camera_worker.cpp
index ff09b75e..df436460 100644
--- a/src/android/camera_worker.cpp
+++ b/src/android/camera_worker.cpp
@@ -15,7 +15,7 @@
using namespace libcamera;
-LOG_DECLARE_CATEGORY(HAL);
+LOG_DECLARE_CATEGORY(HAL)
/*
* \class CaptureRequest
diff --git a/src/android/jpeg/encoder.h b/src/android/jpeg/encoder.h
index 4483153e..4e859961 100644
--- a/src/android/jpeg/encoder.h
+++ b/src/android/jpeg/encoder.h
@@ -14,7 +14,7 @@
class Encoder
{
public:
- virtual ~Encoder() {};
+ virtual ~Encoder() {}
virtual int configure(const libcamera::StreamConfiguration &cfg) = 0;
virtual int encode(const libcamera::FrameBuffer *source,
diff --git a/src/android/jpeg/encoder_libjpeg.cpp b/src/android/jpeg/encoder_libjpeg.cpp
index 8995ba55..f11e0043 100644
--- a/src/android/jpeg/encoder_libjpeg.cpp
+++ b/src/android/jpeg/encoder_libjpeg.cpp
@@ -25,7 +25,7 @@
using namespace libcamera;
-LOG_DECLARE_CATEGORY(JPEG);
+LOG_DECLARE_CATEGORY(JPEG)
namespace {
diff --git a/src/android/jpeg/post_processor_jpeg.cpp b/src/android/jpeg/post_processor_jpeg.cpp
index 753c28e5..9d452b74 100644
--- a/src/android/jpeg/post_processor_jpeg.cpp
+++ b/src/android/jpeg/post_processor_jpeg.cpp
@@ -18,7 +18,7 @@
using namespace libcamera;
-LOG_DEFINE_CATEGORY(JPEG);
+LOG_DEFINE_CATEGORY(JPEG)
PostProcessorJpeg::PostProcessorJpeg(CameraDevice *device)
: cameraDevice_(device)