windows: Remove useless assignment in put_thread()
[strongswan.git] / src / libstrongswan / threading / windows / thread.c
index 8792237..e76758f 100644 (file)
@@ -146,7 +146,7 @@ static void put_thread(private_thread_t *this)
        old = set_leak_detective(FALSE);
        threads_lock->lock(threads_lock);
 
-       this = threads->put(threads, (void*)(uintptr_t)this->id, this);
+       threads->put(threads, (void*)(uintptr_t)this->id, this);
 
        threads_lock->unlock(threads_lock);
        set_leak_detective(old);