diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/utils | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/base64.h | 8 | ||||
-rw-r--r-- | src/utils/copynpaste.h | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/utils/base64.h b/src/utils/base64.h index 92c230169..b0c349277 100644 --- a/src/utils/base64.h +++ b/src/utils/base64.h @@ -30,7 +30,11 @@ #ifndef BASE64_H #define BASE64_H -extern unsigned char *php3_base64_encode(const unsigned char *, int, int *); -extern unsigned char *php3_base64_decode(const unsigned char *, int, int *); +#include "localconsts.h" + +extern unsigned char *php3_base64_encode(const unsigned char *, + int, int *) A_WARN_UNUSED; +extern unsigned char *php3_base64_decode(const unsigned char *, + int, int *) A_WARN_UNUSED; #endif /* BASE64_H */ diff --git a/src/utils/copynpaste.h b/src/utils/copynpaste.h index 53f00453b..7bc2536c5 100644 --- a/src/utils/copynpaste.h +++ b/src/utils/copynpaste.h @@ -21,6 +21,8 @@ #include <string> +#include "localconsts.h" + /** * Attempts to retrieve text from the clipboard buffer and inserts it in * \a text at position \pos. The characters are encoded in utf-8. @@ -30,6 +32,6 @@ * @return <code>true</code> when successful or <code>false</code> when there * was a problem retrieving the clipboard buffer. */ -bool retrieveBuffer(std::string& text, size_t& pos); +bool retrieveBuffer(std::string& text, size_t& pos) A_WARN_UNUSED; bool sendBuffer(std::string& text); |