23.05.2017, 17:37
Quote:
Код:
if(strlen(inputtext) > 0) |
This cannot technically be the cause for Warning 225. strlen() returns a value that isn't known at compile time - thus regardless which checks are done the code in brackets can potentially always be executed in a specific case - so it is in theory always reachable. Also the Compiler doesn't know that strlen can only return positive values or zero, so even if you do if(strlen(string) < 0) that warning will not be thrown.