summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/copynpaste.cpp2
-rw-r--r--src/utils/dtor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index 10b43e811..8e3537734 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -499,7 +499,7 @@ bool sendBuffer(const std::string &restrict text)
}
#else // WIN32
-bool retrieveBuffer(std::string&, size_t&)
+bool retrieveBuffer(std::string &text A_UNUSED, size_t &pos A_UNUSED)
{
return false;
}
diff --git a/src/utils/dtor.h b/src/utils/dtor.h
index 7856fc248..7f32dc2eb 100644
--- a/src/utils/dtor.h
+++ b/src/utils/dtor.h
@@ -46,7 +46,7 @@ public std::unary_function <std::pair<T1, T2>, void>
};
template<class Cont>
-inline dtor<typename Cont::value_type> make_dtor(Cont const&)
+inline dtor<typename Cont::value_type> make_dtor(Cont const &d)
{
return dtor<typename Cont::value_type>();
}