Commit 1208971a authored by Stéphane Albert's avatar Stéphane Albert

COMP: Fixed unused-variable warning.

parent aa005fc4
......@@ -81,6 +81,22 @@ ENHANCED_BAND_NAMES[ 10 ] = {
/*****************************************************************************/
/* STATIC IMPLEMENTATION SECTION */
namespace hidden
{
// Do never call this private hidden function.
void fix_unused_variable_warning()
{
// This variable is used to declare OTB band names to the Qt I18N
// translation process.
//
// The translated string are used by side effect to the
// QObject::translate() function which searches the translated
// strings from the .qm files loaded at runtime.
(void)ENHANCED_BAND_NAMES;
}
};
/*****************************************************************************/
/* CLASS IMPLEMENTATION SECTION */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment