From: John Ellson Date: Thu, 25 Feb 2016 17:28:39 +0000 (-0500) Subject: Janitor: another [-Wmisleading-indentation] - this one harmless X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=284542e0ea16acf5a5b40e7f44f4bf6b9032771f;p=graphviz Janitor: another [-Wmisleading-indentation] - this one harmless --- diff --git a/lib/common/input.c b/lib/common/input.c index 9d2b2538f..aaa19c9ad 100644 --- a/lib/common/input.c +++ b/lib/common/input.c @@ -140,7 +140,8 @@ static char* dotneato_basename (char* path) if (dotp && !strcasecmp(dotp+1,"exe")) *dotp = '\0'; } #endif - while (*s) s++; s--; + while (*s) s++; + s--; /* skip over trailing slashes, nulling out as we go */ while ((s > path) && ((*s == '/') || (*s == '\\'))) *s-- = '\0';