[vlc-commits] dvb: remove `break` after `return`
Eric Engestrom
git at videolan.org
Sat Apr 2 17:13:33 CEST 2016
vlc | branch: master | Eric Engestrom <eric at engestrom.ch> | Sat Apr 2 15:43:23 2016 +0100| [665fedde5e24f25830fe2d0656b4a40fd31e6d60] | committer: Rémi Denis-Courmont
dvb: remove `break` after `return`
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=665fedde5e24f25830fe2d0656b4a40fd31e6d60
---
modules/access/dvb/scan.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index a2d32cf..dfe972e 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -164,11 +164,11 @@ static int scan_service_type( int service_type )
{
switch( service_type )
{
- case 0x01: return SERVICE_DIGITAL_TELEVISION; break;
- case 0x02: return SERVICE_DIGITAL_RADIO; break;
- case 0x16: return SERVICE_DIGITAL_TELEVISION_AC_SD; break;
- case 0x19: return SERVICE_DIGITAL_TELEVISION_AC_HD; break;
- default: return SERVICE_UNKNOWN; break;
+ case 0x01: return SERVICE_DIGITAL_TELEVISION;
+ case 0x02: return SERVICE_DIGITAL_RADIO;
+ case 0x16: return SERVICE_DIGITAL_TELEVISION_AC_SD;
+ case 0x19: return SERVICE_DIGITAL_TELEVISION_AC_HD;
+ default: return SERVICE_UNKNOWN;
}
}
More information about the vlc-commits
mailing list