[libdvbpsi-devel] examples/dvbinfo/dvbinfo.c: Fix unterminated case (CID 17255)

Jean-Paul Saman git at videolan.org
Wed Apr 16 15:53:33 CEST 2014


libdvbpsi | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | 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)
                 {



More information about the libdvbpsi-devel mailing list