[llvm-commits] CVS: llvm/lib/System/Unix/Mutex.inc
Reid Spencer
reid at x10sys.com
Tue Dec 5 09:53:41 PST 2006
Changes in directory llvm/lib/System/Unix:
Mutex.inc updated: 1.1 -> 1.2
---
Log message:
Eliminate "control reaches end of non-void function" warnings.
---
Diffs of the changes: (+3 -0)
Mutex.inc | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/System/Unix/Mutex.inc
diff -u llvm/lib/System/Unix/Mutex.inc:1.1 llvm/lib/System/Unix/Mutex.inc:1.2
--- llvm/lib/System/Unix/Mutex.inc:1.1 Tue Jul 12 10:37:43 2005
+++ llvm/lib/System/Unix/Mutex.inc Tue Dec 5 11:53:26 2006
@@ -31,16 +31,19 @@
bool
Mutex::acquire()
{
+ return true;
}
bool
Mutex::release()
{
+ return true;
}
bool
Mutex::tryacquire( void )
{
+ return true;
}
}
More information about the llvm-commits
mailing list