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>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user