[dvblast-devel] Handle unknown delivery systems (prevent compiler warning)

Sebastien RAILLARD git at videolan.org
Mon Mar 30 00:00:21 CEST 2015


dvblast | branch: master | Sebastien RAILLARD <sr at coexsi.fr> | Wed Mar 25 13:51:18 2015 +0100| [6cdc6551d576dea11870401ad71f7cac0619ea9e] | committer: Christophe Massiot

Handle unknown delivery systems (prevent compiler warning)

> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=6cdc6551d576dea11870401ad71f7cac0619ea9e
---

 dvb.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/dvb.c b/dvb.c
index 601bcfb..c6b32c1 100644
--- a/dvb.c
+++ b/dvb.c
@@ -850,6 +850,8 @@ static void FrontendInfo( struct dvb_frontend_info *info, uint32_t version,
 #else
         DELSYS_INFO( SYS_DMBTH, "DMBTH" )
 #endif
+        default: msg_Dbg( NULL, "  Unknown delivery system %u", p_systems[i]);
+            break;
         }
     }
 }



More information about the dvblast-devel mailing list