New warning during build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New warning during build

Rik-4
This should be simple to fix.  I'm seeing this new warning

libinterp/corefcn/graphics.cc: In member function ‘void
gh_manager::execute_callback(const graphics_handle&, const octave_value&,
const octave_value&)’:
libinterp/corefcn/graphics.cc:12132:29: warning: unused variable ‘es’
[-Wunused-variable]
       octave::error_system& es = m_interpreter.get_error_system ();

--Rik

Reply | Threaded
Open this post in threaded view
|

Re: New warning during build

John W. Eaton
Administrator
On 12/13/19 9:12 PM, Rik wrote:
> This should be simple to fix.  I'm seeing this new warning
>
> libinterp/corefcn/graphics.cc: In member function ‘void
> gh_manager::execute_callback(const graphics_handle&, const octave_value&,
> const octave_value&)’:
> libinterp/corefcn/graphics.cc:12132:29: warning: unused variable ‘es’
> [-Wunused-variable]
>         octave::error_system& es = m_interpreter.get_error_system ();

Fixed here:

   http://hg.savannah.gnu.org/hgweb/octave/rev/67c07e264a32


Hmm, maybe I should start building with -Werror...

jwe