From aff0b5a4a15bf19b683c0ee50dae2d77ce46d529 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Thu, 3 Oct 2013 22:38:24 -0700 Subject: [PATCH] Do not return in functions with void return types. Change-Id: Iaf44b84358eff305b62d0c0894e31d9e8a555837 Signed-off-by: Ossama Othman --- include/settingsd/reverse_lock.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/settingsd/reverse_lock.hpp b/include/settingsd/reverse_lock.hpp index 957e3e0..7de5310 100644 --- a/include/settingsd/reverse_lock.hpp +++ b/include/settingsd/reverse_lock.hpp @@ -46,10 +46,10 @@ namespace ivi constexpr reverse_lock(T & m) : mutex_(m) {} /// Unlock the underlying mutex. - void lock() { return mutex_.unlock(); } + void lock() { mutex_.unlock(); } /// Lock the underlying mutex. - void unlock() { return mutex_.lock(); } + void unlock() { mutex_.lock(); } private: -- 2.7.4