From d312d0ba10f3740d45b50ef8bcfc48e751e694fc Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 4 Nov 2019 18:50:45 +0200 Subject: 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 Reviewed-by: Kieran Bingham --- src/cam/event_loop.h | 2 +- src/cam/options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cam') diff --git a/src/cam/event_loop.h b/src/cam/event_loop.h index aaca5838..581c7cba 100644 --- a/src/cam/event_loop.h +++ b/src/cam/event_loop.h @@ -13,7 +13,7 @@ namespace libcamera { class EventDispatcher; -}; +} class EventLoop { diff --git a/src/cam/options.cpp b/src/cam/options.cpp index 1f0631ec..7e2dfa63 100644 --- a/src/cam/options.cpp +++ b/src/cam/options.cpp @@ -490,7 +490,7 @@ void OptionsParser::usage() else argument += " "; argument += std::string("--") + option.name; - }; + } if (option.argument != ArgumentNone) { if (option.argument == ArgumentOptional) -- cgit v1.2.1