summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-28 12:04:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-10-28 12:04:15 +0000
commit3fd0889013f0ae6b91a363a979bd64dd2eefe317 (patch)
treeb4b6ddc1b4a1eb2b588911669e27107d3c560e8d /sal
parent316a0487dcf9bb15db159552e70dbfc43b785618 (diff)
add SAL_WARN_UNUSED to some classes
Change-Id: Ibcc3ea7ebd60c46930f0c2419c8286fed9671061
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/osl/mutex.hxx2
-rw-r--r--sal/inc/rtl/byteseq.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/osl/mutex.hxx b/sal/inc/osl/mutex.hxx
index 8e8945a51df1..98d14802da24 100644
--- a/sal/inc/osl/mutex.hxx
+++ b/sal/inc/osl/mutex.hxx
@@ -38,7 +38,7 @@ namespace osl
{
/** A mutual exclusion synchronization object
*/
- class Mutex {
+ class SAL_WARN_UNUSED Mutex {
public:
/** Create a thread-local mutex.
diff --git a/sal/inc/rtl/byteseq.h b/sal/inc/rtl/byteseq.h
index e863dffa7abd..c1520833b321 100644
--- a/sal/inc/rtl/byteseq.h
+++ b/sal/inc/rtl/byteseq.h
@@ -167,7 +167,7 @@ enum __ByteSequence_NoAcquire
To keep value semantics, copies are only generated if the sequence is to be modified
(new handle).
*/
-class ByteSequence
+class SAL_WARN_UNUSED ByteSequence
{
/** sequence handle
*/