On Tue, Jun 9, 2026 at 9:24 AM Ben Boeckel via Sourceware Forge
<[email protected]> wrote:
>
> From: Ben Boeckel <[email protected]>
>
> Fixes: 024f135a1e9 (p1689r5: initial support, 2023-09-01)
>
> Reported-by: Roland Illig <[email protected]>
>
> libcpp/
>
>         * mkdeps.cc (fdeps_add_target): Fix indentation.

Ok.

> ---
>  libcpp/mkdeps.cc | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/libcpp/mkdeps.cc b/libcpp/mkdeps.cc
> index 473dd464323f..3dd89421ed9c 100644
> --- a/libcpp/mkdeps.cc
> +++ b/libcpp/mkdeps.cc
> @@ -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));
>  }
>
> --
> 2.54.0
>

Reply via email to