From: Joel Rosdahl Date: Thu, 29 Aug 2019 19:32:47 +0000 (+0200) Subject: Fix code style X-Git-Tag: v4.0~820 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd82f936e8e4a778242fe55ef39b5bb5cbefa876;p=thirdparty%2Fccache.git Fix code style --- diff --git a/src/ccache.cpp b/src/ccache.cpp index 8568d405a..618be6e6c 100644 --- a/src/ccache.cpp +++ b/src/ccache.cpp @@ -772,12 +772,12 @@ make_relative_path(char* path) #ifdef _WIN32 if (path[0] == '/') { - char *p = NULL; + char* p = NULL; if (isalpha(path[1]) && path[2] == '/') { // Transform /c/path... to c:/path... p = format("%c:/%s", path[1], &path[3]); } else { - p = x_strdup(path+1); // Skip leading slash. + p = x_strdup(path + 1); // Skip leading slash. } free(path); path = p;