1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: fix "return-statement with a value, in function returning 'void'"
Author: Andreas Beckmann <anbe@debian.org>
Bug-Debian: https://bugs.debian.org/812027
Last-Update: 2017-04-23
Index: zthreads/include/zthread/Guard.h
===================================================================
--- zthreads.orig/include/zthread/Guard.h
+++ zthreads/include/zthread/Guard.h
@@ -114,12 +114,9 @@ class CompoundScope {
if(!Scope2::createScope(l, ms)) {
Scope1::destroyScope(l);
- return false;
}
- return true;
-
}
template <class LockType>
|