diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-11-04 18:56:45 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-11-18 02:27:48 +0200 |
commit | 918bfb3c3dbaecb2df10fb24da9c68737f4948c1 (patch) | |
tree | 0e26bfcaee4a7250b2f1f83db55d887c43c493bd /src/libcamera/media_device.cpp | |
parent | d312d0ba10f3740d45b50ef8bcfc48e751e694fc (diff) |
libcamera: Remove space between empty curly brackets
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/libcamera/media_device.cpp')
-rw-r--r-- | src/libcamera/media_device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/media_device.cpp b/src/libcamera/media_device.cpp index 0d6630fb..e1ae34f8 100644 --- a/src/libcamera/media_device.cpp +++ b/src/libcamera/media_device.cpp @@ -199,7 +199,7 @@ void MediaDevice::unlock() */ int MediaDevice::populate() { - struct media_v2_topology topology = { }; + struct media_v2_topology topology = {}; struct media_v2_entity *ents = nullptr; struct media_v2_interface *interfaces = nullptr; struct media_v2_link *links = nullptr; @@ -767,7 +767,7 @@ void MediaDevice::fixupEntityFlags(struct media_v2_entity *entity) */ int MediaDevice::setupLink(const MediaLink *link, unsigned int flags) { - struct media_link_desc linkDesc = { }; + struct media_link_desc linkDesc = {}; MediaPad *source = link->source(); MediaPad *sink = link->sink(); |