test-new-trickle: remove superfluous expression
authorJakub Adam <jakub.adam@collabora.com>
Tue, 12 Feb 2019 14:30:22 +0000 (15:30 +0100)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Fri, 8 Mar 2019 14:41:30 +0000 (14:41 +0000)
tests/test-new-trickle.c

index 0be38b9..97e9666 100644 (file)
@@ -681,8 +681,7 @@ static void new_candidate_test(NiceAgent *lagent, NiceAgent *ragent)
   g_mutex_unlock (stun_mutex_ptr);
 
   // Wait for lagent to finish gathering candidates
-  while (!lagent_candidate_gathering_done ||
-      !lagent_candidate_gathering_done)
+  while (!lagent_candidate_gathering_done)
     g_main_context_iteration (NULL, TRUE);
   g_cancellable_reset (global_cancellable);
   g_assert (nice_agent_peer_candidate_gathering_done (ragent, global_rs_id));