[libbdplus-devel] Silence double error message (and implicit-fallthrough warning)

anonymous git at videolan.org
Tue Nov 27 12:44:19 CET 2018


libbdplus | branch: master | anonymous <anonymous at anonymous.org> | Tue Nov 27 13:39:32 2018 +0200| [20e7b3f3f9fabf9509148103a8f2757e0212841b] | committer: anonymous

Silence double error message (and implicit-fallthrough warning)

> http://git.videolan.org/gitweb.cgi/libbdplus.git/?a=commit;h=20e7b3f3f9fabf9509148103a8f2757e0212841b
---

 src/libbdplus/bdsvm/trap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libbdplus/bdsvm/trap.c b/src/libbdplus/bdsvm/trap.c
index 5ae491b..f3feaea 100644
--- a/src/libbdplus/bdsvm/trap.c
+++ b/src/libbdplus/bdsvm/trap.c
@@ -1129,6 +1129,8 @@ uint32_t TRAP_Discovery(bdplus_config_t *config, uint32_t dev, uint32_t qID, uin
             break;
         } // qID
 
+        break;
+
     default:
         BD_DEBUG(DBG_CRIT, "[TRAP] unknown DeviceDiscovery for unknown dev %d: %d\n", dev, qID);
         break;



More information about the libbdplus-devel mailing list