[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69108: false-positive warning "variable ‘_’ not left unused" in if-l
From: |
Eli Zaretskii |
Subject: |
bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let |
Date: |
Sun, 25 Feb 2024 09:42:07 +0200 |
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: 69108@debbugs.gnu.org, Hi-Angel@yandex.ru
> Date: Sun, 25 Feb 2024 02:54:04 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > > [...] repeating a test. Is this what you prefer?
> >
> > Yes, I think so. And you could perhaps avoid repetition of
> > (cdr binding) by saving the result of (null (cdr binding)) in
> > a local variable.
>
> I went with a separate `cond' branch added instead, I think this is even
> simpler. Ok?
Yes, thanks.
> > > {My unsuccessful doc tweaks}
> >
> > [...] I'd prefer to separate it.
>
> Done. Feel free to tune it to your likes. Or send me an "ok", then
> I'll just commit this version.
I installed them both, thanks.
Closing the bug.
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, (continued)
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Eli Zaretskii, 2024/02/17
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Konstantin Kharlamov, 2024/02/17
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Ihor Radchenko, 2024/02/17
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Konstantin Kharlamov, 2024/02/17
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Ihor Radchenko, 2024/02/19
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Konstantin Kharlamov, 2024/02/19
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Michael Heerdegen, 2024/02/17
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Michael Heerdegen, 2024/02/17
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Eli Zaretskii, 2024/02/18
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let, Michael Heerdegen, 2024/02/24
- bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let,
Eli Zaretskii <=