mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 18:38:30 +01:00
fix missing return statement
This commit is contained in:
parent
86dcec7495
commit
3e58d4ba31
@ -163,10 +163,12 @@ namespace dsp {
|
||||
|
||||
private:
|
||||
Processor<T, T>* blockBefore(Processor<T, T>* block) {
|
||||
// TODO: This is wrong and must be fixed when I get more time
|
||||
for (auto& ln : links) {
|
||||
if (ln == block) { return NULL; }
|
||||
if (states[ln]) { return ln; }
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Processor<T, T>* blockAfter(Processor<T, T>* block) {
|
||||
|
@ -257,6 +257,7 @@ namespace net::http {
|
||||
|
||||
// Deserialize
|
||||
req.deserialize(respData);
|
||||
return 0; // Might wanna return size instead
|
||||
}
|
||||
|
||||
int Client::sendResponseHeader(ResponseHeader& resp) {
|
||||
@ -274,6 +275,7 @@ namespace net::http {
|
||||
|
||||
// Deserialize
|
||||
resp.deserialize(respData);
|
||||
return 0; // Might wanna return size instead
|
||||
}
|
||||
|
||||
int Client::sendChunkHeader(ChunkHeader& chdr) {
|
||||
|
Loading…
Reference in New Issue
Block a user