CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

fbitdump voip_rtpcode-plugin: unreachable code fragment #27

Closed ghost closed 9 years ago

ghost commented 9 years ago

In voip_rtpcodec.c, there is a code fragment that can never be reached. It is the call to snprintf on line 134. Perhaps, one of the conditions that come just before line 134 shouldn't feature a return statement. In case they do, line 134 can be removed completely.

mikeek commented 9 years ago

Fixed in 836f591ce7ba10b19e61b3ad3a103b55d64d255a