remove ugly gcc warning removal ack, simply cast the caller parameter
[urcu.git] / urcu.c
diff --git a/urcu.c b/urcu.c
index 232a57bb718fbf12be651cebd6a808b01976c924..d0d61385385d713bf221e078767295bd3ecfb2d6 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -119,7 +119,7 @@ void wait_for_quiescent_state(int parity)
  */
 void *urcu_publish_content(void **ptr, void *new)
 {
-       int ret, prev_parity;
+       int prev_parity;
        void *oldptr;
 
        /*
@@ -207,7 +207,6 @@ void urcu_register_thread(void)
 
 void urcu_unregister_thread(void)
 {
-       pthread_t self = pthread_self();
        rcu_write_lock();
        urcu_remove_reader(pthread_self());
        rcu_write_unlock();
This page took 0.022478 seconds and 4 git commands to generate.