File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,12 @@ namespace dsp {
163163
164164 private:
165165 Processor<T, T>* blockBefore (Processor<T, T>* block) {
166+ // TODO: This is wrong and must be fixed when I get more time
166167 for (auto & ln : links) {
167168 if (ln == block) { return NULL ; }
168169 if (states[ln]) { return ln; }
169170 }
171+ return NULL ;
170172 }
171173
172174 Processor<T, T>* blockAfter (Processor<T, T>* block) {
Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ namespace net::http {
257257
258258 // Deserialize
259259 req.deserialize (respData);
260+ return 0 ; // Might wanna return size instead
260261 }
261262
262263 int Client::sendResponseHeader (ResponseHeader& resp) {
@@ -274,6 +275,7 @@ namespace net::http {
274275
275276 // Deserialize
276277 resp.deserialize (respData);
278+ return 0 ; // Might wanna return size instead
277279 }
278280
279281 int Client::sendChunkHeader (ChunkHeader& chdr) {
You can’t perform that action at this time.
0 commit comments