1
0
forked from pool/libzrtpcpp
libzrtpcpp/libzrtpcpp-1.0.1-no-return-in-nonvoid-function.patch

25 lines
844 B
Diff

Index: src/ZrtpQueue.cxx
===================================================================
--- src/ZrtpQueue.cxx.orig 2008-02-28 02:30:54.000000000 +0100
+++ src/ZrtpQueue.cxx 2008-05-11 23:24:17.000000000 +0200
@@ -452,6 +452,7 @@ bool ZrtpQueue::srtpSecretsReady(SrtpSec
}
secureParts++;
}
+ return true;
}
void ZrtpQueue::srtpSecretsOn(const char* c, const char* s)
Index: src/ZrtpStateClass.cxx
===================================================================
--- src/ZrtpStateClass.cxx.orig 2008-05-11 23:24:17.000000000 +0200
+++ src/ZrtpStateClass.cxx 2008-05-11 23:25:25.000000000 +0200
@@ -429,6 +429,7 @@ int32_t ZrtpStateClass::evAckSent(void)
nextState(Initial);
return (Fail);
}
+ return (Fail);
}
/*
* The protocol engine got a peer's HelloAck state Detect, thus the peer got