MCPcopy Create free account
hub / github.com/assaultcube/AC / trimtrailingwhitespace

Function trimtrailingwhitespace

source/src/protocol.cpp:486–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void trimtrailingwhitespace(char *s)
487{
488 for(int n = (int)strlen(s) - 1; n >= 0 && isspace(s[n]); n--)
489 s[n] = '\0';
490}
491
492const char *modefullnames[] =
493{

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected