|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #63437] Null pointer dereference in file-editor-tab.cc |
Date: | Tue, 29 Nov 2022 10:58:33 -0500 (EST) |
Follow-up Comment #9, bug #63437 (project octave): The settings object is created early on in the constructor of `octave::main_window` before any of the widgets (including the editor widget) are created. I can't see how it can ever be a nullptr at that point. Could we just remove the `if (settings)` and execute `notice_settings (settings, true);` unconditionally to silence the static analyzer? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63437> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |