mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-10-31 08:58:13 +01:00 
			
		
		
		
	fix missing return statement
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user