From 918bfb3c3dbaecb2df10fb24da9c68737f4948c1 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 4 Nov 2019 18:56:45 +0200 Subject: libcamera: Remove space between empty curly brackets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove spaces between empty curly brackets (replacing { } with {}) to comply with the coding style. Fix one other coding style violation on the lines touched by those fixes. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- test/media_device/media_device_print_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/media_device') diff --git a/test/media_device/media_device_print_test.cpp b/test/media_device/media_device_print_test.cpp index 8dd8a151..5018906c 100644 --- a/test/media_device/media_device_print_test.cpp +++ b/test/media_device/media_device_print_test.cpp @@ -26,13 +26,13 @@ using namespace std; class MediaDevicePrintTest : public Test { public: - MediaDevicePrintTest() { } - ~MediaDevicePrintTest() { } + MediaDevicePrintTest() {} + ~MediaDevicePrintTest() {} protected: int init() { return 0; } int run(); - void cleanup() { } + void cleanup() {} private: int testMediaDevice(string deviceNode); @@ -137,7 +137,7 @@ int MediaDevicePrintTest::run() */ for (i = 0; i < MAX_MEDIA_DEV; i++) { string mediadev = deviceNode + to_string(i); - struct stat pstat = { }; + struct stat pstat = {}; if (stat(mediadev.c_str(), &pstat)) continue; -- cgit v1.2.1