[MPlayer-cvslog] r35901 - trunk/gui/ui/main.c

ib subversion at mplayerhq.hu
Sat Jan 26 17:44:34 CET 2013


Author: ib
Date: Sat Jan 26 17:44:34 2013
New Revision: 35901

Log:
Comment code with no effect.

The expression can never be true
and its intention is unclear.

Reported by Hans-Dieter Kosch, hdkosch kabelbw de.

Modified:
   trunk/gui/ui/main.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Sat Jan 26 16:35:10 2013	(r35900)
+++ trunk/gui/ui/main.c	Sat Jan 26 17:44:34 2013	(r35901)
@@ -123,7 +123,8 @@ static void uiMainMouse( int Button,int 
           item=&guiApp.mainItems[SelectedItem];
           itemtype=item->type;
           item->pressed=btnPressed;
-          switch( item->type )
+          // NOTE TO MYSELF: commented, because the expression can never be true
+          /*switch( item->type )
            {
             case itButton:
                  if ( ( SelectedItem > -1 ) &&
@@ -131,7 +132,7 @@ static void uiMainMouse( int Button,int 
                       ( ( item->message == evPauseSwitchToPlay && item->message == evPlaySwitchToPause ) ) ) )
                   { item->pressed=btnDisabled; }
                  break;
-           }
+           }*/
           break;
    case wsRLMouseButton:
           boxMoved=False;


More information about the MPlayer-cvslog mailing list