octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Couple new compiler warnings


From: Mike Miller
Subject: Re: Couple new compiler warnings
Date: Fri, 17 Apr 2015 07:11:55 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Apr 17, 2015 at 00:20:54 -0500, Daniel J Sebald wrote:
>   CXX    graphics/graphics_libgui_graphics_la-Canvas.lo
> /libgui/graphics/Canvas.cc:309:1: warning: 'bool
> QtHandles::rotate_enabled(graphics_object)' defined but not used
> /libgui/graphics/Canvas.cc:345:1: warning: 'std::string
> QtHandles::zoom_direction(graphics_object)' defined but not used
> 
> The compiler is probably complaining because these are defined with the
> static variable and can't be removed by the compiler as an unused non-static
> member function could be, i.e., unused code space.  "#ifdef 0" around the
> unused functions should do it.

They are unused as of cset f2dea119369e [1], they should simply be
removed.

[1] http://hg.savannah.gnu.org/hgweb/octave/rev/f2dea119369e

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]