From 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 13:05:34 +0300 Subject: Add unused warnings to other files. --- src/utils/copynpaste.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/utils/copynpaste.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 +#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 true when successful or false 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); -- cgit v1.2.3-70-g09d2