File fix-build.patch of Package sdrpp-git
diff --git a/core/src/dsp/chain.h b/core/src/dsp/chain.h
index 1d4e950..00181d8 100644
--- a/core/src/dsp/chain.h
+++ b/core/src/dsp/chain.h
@@ -167,6 +167,7 @@ namespace dsp {
if (ln == block) { return NULL; }
if (states[ln]) { return ln; }
}
+ return NULL;
}
Processor<T, T>* blockAfter(Processor<T, T>* block) {
@@ -190,4 +191,4 @@ namespace dsp {
std::map<Processor<T, T>*, bool> states;
bool running = false;
};
-}
\ No newline at end of file
+}
diff --git a/core/src/dsp/demod/ssb.h b/core/src/dsp/demod/ssb.h
index 59ef16b..c169604 100644
--- a/core/src/dsp/demod/ssb.h
+++ b/core/src/dsp/demod/ssb.h
@@ -113,6 +113,7 @@ namespace dsp::demod {
else if (_mode == Mode::DSB) {
return 0.0;
}
+ return 0;
}
Mode _mode;
@@ -122,4 +123,4 @@ namespace dsp::demod {
loop::AGC<float> agc;
};
-};
\ No newline at end of file
+};
diff --git a/core/src/utils/proto/http.cpp b/core/src/utils/proto/http.cpp
index 8821f97..d10fbe8 100644
--- a/core/src/utils/proto/http.cpp
+++ b/core/src/utils/proto/http.cpp
@@ -257,6 +257,7 @@ namespace net::http {
// Deserialize
req.deserialize(respData);
+ return 0;
}
int Client::sendResponseHeader(ResponseHeader& resp) {
@@ -274,6 +275,7 @@ namespace net::http {
// Deserialize
resp.deserialize(respData);
+ return 0;
}
int Client::sendChunkHeader(ChunkHeader& chdr) {
@@ -301,4 +303,4 @@ namespace net::http {
}
return 0;
}
-}
\ No newline at end of file
+}