libcamera: formatting: Avoid spaces in for loops without expression
The clang formatter removes spaces in places of empty expressions in for loops. For example, it changes for (init; condition; ) to for (init; condition;) libcamera currently uses both the styles and we should use only one of them for consistency. Since there is apparently no option to override the formatter behavior (see https://clang.llvm.org/docs/ClangFormatStyleOptions.html), let's remove the extra spaces to make the formatter happy. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
4849a84a9b
commit
33ce463a46
@@ -75,7 +75,7 @@ void ProcessManager::sighandler()
|
||||
return;
|
||||
}
|
||||
|
||||
for (auto it = processes_.begin(); it != processes_.end(); ) {
|
||||
for (auto it = processes_.begin(); it != processes_.end();) {
|
||||
Process *process = *it;
|
||||
|
||||
int wstatus;
|
||||
|
||||
Reference in New Issue
Block a user