From: Joel Rosdahl Date: Thu, 31 May 2012 19:38:39 +0000 (+0200) Subject: Clean up code formatting X-Git-Tag: v3.1.8~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47c02cd278ada8effd5224adc87684a45876629e;p=thirdparty%2Fccache.git Clean up code formatting --- diff --git a/hashutil.c b/hashutil.c index d935c5f74..d69e629fd 100644 --- a/hashutil.c +++ b/hashutil.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2010 Joel Rosdahl + * Copyright (C) 2009-2010, 2012 Joel Rosdahl * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -86,8 +86,7 @@ hash_source_code_string( case '*': HASH(' '); /* Don't paste tokens together when removing the comment. */ p += 2; - while (p+1 < end - && (*p != '*' || *(p+1) != '/')) { + while (p+1 < end && (*p != '*' || *(p+1) != '/')) { if (*p == '\n') { /* Keep line numbers. */ HASH('\n'); @@ -102,8 +101,7 @@ hash_source_code_string( case '/': p += 2; - while (p < end - && (*p != '\n' || *(p-1) == '\\')) { + while (p < end && (*p != '\n' || *(p-1) == '\\')) { p++; } continue;