2016-10-19 12:00 GMT+02:00 Jean-Marc Lasgouttes :

> -string LyXVC::vcname() const
> +docstring LyXVC::vcstatus() const
>  {
> -       return vcs->vcname();
> +       if (!vcs)
> +               return docstring();
> +               if (locking())
> +                       return bformat(_("%1$s lock"),
> from_ascii(vcs->vcname()));
> +               else
> +                       return from_ascii(vcs->vcname());
>  }
>

I suppose the latter 4 lines are not supposed to be indented.

GCC 6.2 issues a warning about this.

Jürgen

Reply via email to