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

14 lines
436 B
Diff
Raw Normal View History

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