]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Clean up code formatting
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 31 May 2012 19:38:39 +0000 (21:38 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 31 May 2012 19:38:39 +0000 (21:38 +0200)
hashutil.c

index d935c5f749f1ec159576f7833f3e11c35c5cce95..d69e629fdd115497340d976558701a1bebc66df1 100644 (file)
@@ -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;