Skip to content
Snippets Groups Projects
Commit 1208971a authored by Stéphane Albert's avatar Stéphane Albert
Browse files

COMP: Fixed unused-variable warning.

parent aa005fc4
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment