|
From: | Daniel J Sebald |
Subject: | Couple new compiler warnings |
Date: | Fri, 17 Apr 2015 00:20:54 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
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.
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |