From 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 01:19:46 +0300 Subject: Add unused warnings to some files. --- src/utils/paths.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/utils/paths.h') diff --git a/src/utils/paths.h b/src/utils/paths.h index 05b4fef07..82e7c6a17 100644 --- a/src/utils/paths.h +++ b/src/utils/paths.h @@ -23,18 +23,20 @@ #include -std::string getRealPath(const std::string &str); +#include "localconsts.h" -bool isRealPath(const std::string &str); +std::string getRealPath(const std::string &str) A_WARN_UNUSED; -bool checkPath(std::string path); +bool isRealPath(const std::string &str) A_WARN_UNUSED; + +bool checkPath(std::string path) A_WARN_UNUSED; std::string &fixDirSeparators(std::string &str); -std::string removeLast(std::string str); +std::string removeLast(std::string str) A_WARN_UNUSED; -std::string getSelfName(); +std::string getSelfName() A_WARN_UNUSED; -std::string getDesktopDir(); +std::string getDesktopDir() A_WARN_UNUSED; #endif // UTILS_PATHS_H -- cgit v1.2.3-70-g09d2