1
0
forked from pool/libzrtpcpp
libzrtpcpp/libzrtpcpp-0.9.0-compiler_warnings.patch

12 lines
283 B
Diff

--- src/ZrtpStateClass.cxx
+++ src/ZrtpStateClass.cxx
@@ -815,7 +815,7 @@
DEBUGOUT((cout << "Checking for match in SecureState.\n"));
char *msg, first, last;
- uint8_t *pkt;
+ uint8_t *pkt = NULL;
if (event->type == ZrtpPacket) {
pkt = event->data.packet;