https://gcc.gnu.org/g:54d7f3a23fe7ba7e2689e13f7954f2deee3e9d54
commit r17-1544-g54d7f3a23fe7ba7e2689e13f7954f2deee3e9d54 Author: Ben Boeckel <[email protected]> Date: Mon Apr 1 22:12:00 2024 -0400 libcpp/mkdeps: fix indentation Fixes: 024f135a1e9 (p1689r5: initial support, 2023-09-01) Reported-by: Roland Illig <[email protected]> libcpp/ * mkdeps.cc (fdeps_add_target): Fix indentation. Diff: --- libcpp/mkdeps.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libcpp/mkdeps.cc b/libcpp/mkdeps.cc index 748aa9c7baf7..7e2babb123ce 100644 --- a/libcpp/mkdeps.cc +++ b/libcpp/mkdeps.cc @@ -309,11 +309,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)); }
