examples/dvbinfo/dvbinfo.c: Fix unterminated case (CID 17255)

[email protected] (Jean-Paul Saman) Wed, 16 Apr 2014 15:53:33 +0200 (CEST)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Fri Apr 11 16:26:00 2014 +0200| [728432e37e4bb4229ed12c516c5f2a3998057831] | committer: Jean-Paul Saman

examples/dvbinfo/dvbinfo.c: Fix unterminated case (CID 17255)

Forgot to terminate the case for option 'a'.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=728432e37e4bb4229ed12c516c5f2a3998057831
---

 examples/dvbinfo/dvbinfo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/dvbinfo/dvbinfo.c b/examples/dvbinfo/dvbinfo.c
index f7d69fe..c2a4cf2 100644
--- a/examples/dvbinfo/dvbinfo.c
+++ b/examples/dvbinfo/dvbinfo.c
@@ -525,7 +525,6 @@ int main(int argc, char **pp_argv)
 
 #ifdef HAVE_SYS_SOCKET_H
             case 'a':
-            {
                 if (optarg)
                 {
                     if (asprintf(&param->mcast_interface, "%s", optarg) < 0)
@@ -534,7 +533,8 @@ int main(int argc, char **pp_argv)
                         usage();
                     }
                 }
-            }
+                break;
+
             case 'i':
                 if (optarg)
                 {

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvbpsi-devel