From patchwork Thu Oct 12 11:16:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1005: bdiff: fix misplaced comma in macro definition with clang-format From: phabricator X-Patchwork-Id: 24773 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Thu, 12 Oct 2017 11:16:20 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG72b24ac81d5d: bdiff: fix misplaced comma in macro definition with clang-format (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1005?vs=2586&id=2617 REVISION DETAIL https://phab.mercurial-scm.org/D1005 AFFECTED FILES mercurial/bdiff.c CHANGE DETAILS To: durin42, #hg-reviewers, pulkit, ryanmce Cc: mercurial-devel diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c --- a/mercurial/bdiff.c +++ b/mercurial/bdiff.c @@ -19,7 +19,7 @@ /* Hash implementation from diffutils */ #define ROL(v, n) ((v) << (n) | (v) >> (sizeof(v) * CHAR_BIT - (n))) -#define HASH(h, c) ((c) + ROL(h ,7)) +#define HASH(h, c) ((c) + ROL(h, 7)) struct pos { int pos, len;