[Pvfs2-cvs] commit by pw in pvfs2/src/common/gen-locks: gen-locks.h

CVS commit program cvs at parl.clemson.edu
Tue Dec 5 16:58:44 EST 2006


Update of /projects/cvsroot/pvfs2/src/common/gen-locks
In directory parlweb1:/tmp/cvs-serv32582/src/common/gen-locks

Modified Files:
	gen-locks.h 
Log Message:
silence unused variable warnings in null locking case


Index: gen-locks.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/gen-locks/gen-locks.h,v
diff -u -p -p -u -r1.11 -r1.12
--- gen-locks.h	20 Sep 2006 04:36:11 -0000	1.11
+++ gen-locks.h	5 Dec 2006 21:58:44 -0000	1.12
@@ -70,16 +70,19 @@ typedef unsigned long gen_thread_t;
 static inline int gen_mutex_lock(
     gen_mutex_t * mutex_p)
 {
+    (void) mutex_p;
     return 0;
 }
 static inline int gen_mutex_unlock(
     gen_mutex_t * mutex_p)
 {
+    (void) mutex_p;
     return 0;
 }
 static inline int gen_mutex_trylock(
     gen_mutex_t * mutex_p)
 {
+    (void) mutex_p;
     return 0;
 }
 static inline gen_mutex_t *gen_mutex_build(



More information about the Pvfs2-cvs mailing list