[1/4] libcpp/mkdeps: fix indentation
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_check--master-arm |
success
|
Testing passed
|
Commit Message
Fixes: 024f135a1e9 (p1689r5: initial support, 2023-09-01)
Reported-by: Roland Illig <roland.illig@gmx.de>
libcpp/
* mkdeps.cc (fdeps_add_target): Fix indentation.
Signed-off-by: Ben Boeckel <ben.boeckel@kitware.com>
---
libcpp/mkdeps.cc | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
@@ -307,11 +307,12 @@ fdeps_add_target (struct mkdeps *d, const char *o, bool is_primary)
{
o = apply_vpath (d, o);
if (is_primary)
- {
- if (d->primary_output)
- d->fdeps_targets.push (d->primary_output);
- d->primary_output = xstrdup (o);
- } else
+ {
+ if (d->primary_output)
+ d->fdeps_targets.push (d->primary_output);
+ d->primary_output = xstrdup (o);
+ }
+ else
d->fdeps_targets.push (xstrdup (o));
}