summaryrefslogtreecommitdiff
path: root/src/defaults.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/defaults.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/defaults.h')
-rw-r--r--src/defaults.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/defaults.h b/src/defaults.h
index 45a050eb7..6edf3a404 100644
--- a/src/defaults.h
+++ b/src/defaults.h
@@ -22,20 +22,23 @@
#ifndef DEFAULTS_H
#define DEFAULTS_H
+#include "variabledata.h"
+
#include <map>
#include <string>
-#include "variabledata.h"
+
+#include "localconsts.h"
typedef std::map<std::string, VariableData*> DefaultsData;
-VariableData* createData(const int defData);
-VariableData* createData(const double defData);
-VariableData* createData(const float defData);
-VariableData* createData(const std::string &defData);
-VariableData* createData(const char *const defData);
-VariableData* createData(const bool defData);
-DefaultsData* getConfigDefaults();
-DefaultsData* getBrandingDefaults();
-DefaultsData* getPathsDefaults();
+VariableData* createData(const int defData) A_WARN_UNUSED;
+VariableData* createData(const double defData) A_WARN_UNUSED;
+VariableData* createData(const float defData) A_WARN_UNUSED;
+VariableData* createData(const std::string &defData) A_WARN_UNUSED;
+VariableData* createData(const char *const defData) A_WARN_UNUSED;
+VariableData* createData(const bool defData) A_WARN_UNUSED;
+DefaultsData* getConfigDefaults() A_WARN_UNUSED;
+DefaultsData* getBrandingDefaults() A_WARN_UNUSED;
+DefaultsData* getPathsDefaults() A_WARN_UNUSED;
#endif