[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc |
Date: |
Tue, 1 Nov 2022 11:47:21 -0400 (EDT) |
Update of bug #63300 (project octave):
Category: Octave Function => Coding Style and
Maintenance
Severity: 3 - Normal => 2 - Minor
Priority: 5 - Normal => 3 - Low
Item Group: Unexpected Error or Warning => Other
_______________________________________________________
Follow-up Comment #3:
This is a false positive. The input is checked to be of numeric type at the
start of the function and then there is an if/else tree which decodes the
various numeric types and in every case info wil be assigned a value.
Valgrind and other software testing tools often have trouble with this
construct because there is neither a default assignment nor a final else
branch which the testing tool would recognize as catching all cases.
So, there is no problem with the code. But, it might be useful to assign a
default value simply to silence the testing tools.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63300>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Robert Jenssen, 2022/11/01
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, anonymous, 2022/11/01
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Robert Jenssen, 2022/11/01
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc,
Rik <=
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Robert Jenssen, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Arun Giridhar, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Rik, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Markus Mützel, 2022/11/03
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Rik, 2022/11/04