summaryrefslogtreecommitdiff
path: root/src/utils/gettexthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/gettexthelper.cpp')
-rw-r--r--src/utils/gettexthelper.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils/gettexthelper.cpp b/src/utils/gettexthelper.cpp
index 3ee1bb0b3..650258e42 100644
--- a/src/utils/gettexthelper.cpp
+++ b/src/utils/gettexthelper.cpp
@@ -22,7 +22,7 @@
#if defined(ENABLE_NLS) || defined(ENABLE_CUSTOMNLS)
#include "configuration.h"
-#endif
+#endif // defined(ENABLE_NLS) || defined(ENABLE_CUSTOMNLS)
#ifdef ENABLE_NLS
#include "client.h"
@@ -148,8 +148,9 @@ void GettextHelper::bindTextDomain(const char *const path)
else
logger->log("bindtextdomain failed");
}
-#else
+#else // ENABLE_NLS
+
void GettextHelper::bindTextDomain(const char *const path A_UNUSED)
{
}
-#endif
+#endif // ENABLE_NLS