[MPlayer-cvslog] r32079 - trunk/udp_sync.c

reimar subversion at mplayerhq.hu
Wed Sep 8 20:01:56 CEST 2010


Author: reimar
Date: Wed Sep  8 20:01:56 2010
New Revision: 32079

Log:
Remove a useless "else".

Modified:
   trunk/udp_sync.c

Modified: trunk/udp_sync.c
==============================================================================
--- trunk/udp_sync.c	Wed Sep  8 19:59:07 2010	(r32078)
+++ trunk/udp_sync.c	Wed Sep  8 20:01:56 2010	(r32079)
@@ -128,13 +128,9 @@ int get_udp(int blocking, float *master_
 
         mesg[chars_received] = 0;
 
-        if (strcmp(mesg, "bye") == 0) {
+        if (strcmp(mesg, "bye") == 0)
             return 1;
-        } else {
             sscanf(mesg, "%f", master_position);
-            return 0;
-        }
-
     return 0;
 }
 


More information about the MPlayer-cvslog mailing list