|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #55347] PVS studio static analysis report |
Date: | Thu, 3 Jan 2019 10:13:07 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #11, bug #55347 (project octave): @Torsten: I don't know how you are planning to fix the problem with the pointer to the settings object, but can we make the m_settings and m_default_settings members in the resource_manager class either values or references so that they can be guaranteed to exist and then the get_settings function can return a reference? That way we could avoid the need for any checks for valid pointers. Or is there some case in which it is valid for the settings object(s) to not exist? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55347> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |