[vlc-commits] commit: ncurses: remove "default: break;" from switches ( Rafaël Carré )

git at videolan.org git at videolan.org
Wed Oct 27 12:45:35 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Oct 26 22:01:56 2010 +0200| [4657acd4671db55baa3ab7f10e594846e525c03a] | committer: Rafaël Carré 

ncurses: remove "default: break;" from switches

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4657acd4671db55baa3ab7f10e594846e525c03a
---

 modules/gui/ncurses.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index f3c8d01..176e320 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1688,8 +1688,6 @@ static int HandleKey(intf_thread_t *p_intf)
             if (p_sys->i_box_start >= p_sys->i_box_lines_total)
                 p_sys->i_box_start = p_sys->i_box_lines_total - 1;
             return 1;
-        default:
-            break;
         }
     }
     else if (p_sys->i_box_type == BOX_NONE)
@@ -1711,9 +1709,6 @@ static int HandleKey(intf_thread_t *p_intf)
         case KEY_DOWN:
             ChangePosition(p_intf, -0.05);
             return 1;
-
-        default:
-            break;
         }
     }
     else if (p_sys->i_box_type == BOX_SEARCH)



More information about the vlc-commits mailing list