mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-31 20:35:40 +02:00
fix missing return statement
This commit is contained in:
parent
86dcec7495
commit
3e58d4ba31
@ -163,10 +163,12 @@ namespace dsp {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
Processor<T, T>* blockBefore(Processor<T, T>* block) {
|
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) {
|
for (auto& ln : links) {
|
||||||
if (ln == block) { return NULL; }
|
if (ln == block) { return NULL; }
|
||||||
if (states[ln]) { return ln; }
|
if (states[ln]) { return ln; }
|
||||||
}
|
}
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Processor<T, T>* blockAfter(Processor<T, T>* block) {
|
Processor<T, T>* blockAfter(Processor<T, T>* block) {
|
||||||
|
@ -257,6 +257,7 @@ namespace net::http {
|
|||||||
|
|
||||||
// Deserialize
|
// Deserialize
|
||||||
req.deserialize(respData);
|
req.deserialize(respData);
|
||||||
|
return 0; // Might wanna return size instead
|
||||||
}
|
}
|
||||||
|
|
||||||
int Client::sendResponseHeader(ResponseHeader& resp) {
|
int Client::sendResponseHeader(ResponseHeader& resp) {
|
||||||
@ -274,6 +275,7 @@ namespace net::http {
|
|||||||
|
|
||||||
// Deserialize
|
// Deserialize
|
||||||
resp.deserialize(respData);
|
resp.deserialize(respData);
|
||||||
|
return 0; // Might wanna return size instead
|
||||||
}
|
}
|
||||||
|
|
||||||
int Client::sendChunkHeader(ChunkHeader& chdr) {
|
int Client::sendChunkHeader(ChunkHeader& chdr) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user