[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62017] 5 warnings on unused variables detecte
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #62017] 5 warnings on unused variables detected by clang 13 |
Date: |
Thu, 10 Feb 2022 10:42:19 -0500 (EST) |
Follow-up Comment #1, bug #62017 (project octave):
Are you sure clang is correct about these instances?
I took one example, m_debug_frame, and using grep it is certainly used in
several locations in the code. On the other hand, the same variable name
"m_debug_frame" seems to be a private member variable of both the
tree_evaluator class and the debugger class. That's pretty confusing. Maybe
clang has it right and that m_debug_frame should be deleted from the debugger
class. Or maybe this has uncovered a larger error and m_debug_frame should be
removed from the tree_evaluator class instead. Add jwe to the CC list for
this question.
I haven't looked at any of the others.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62017>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/