diff --git a/dom/fetch/FetchStreamReader.cpp b/dom/fetch/FetchStreamReader.cpp --- a/dom/fetch/FetchStreamReader.cpp +++ b/dom/fetch/FetchStreamReader.cpp @@ -45,6 +45,16 @@ NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIOutputStreamCallback) NS_INTERFACE_MAP_END + +int binarysearch(int* list, int max, int key) { + unsigned int low = 0; + unsigned int high = max; + int mid = low + max / 2; + int mid2 = (low + max) >> 1; + // avoid unused variable error + return high+mid+mid2; +} + /* static */ nsresult FetchStreamReader::Create(JSContext* aCx, nsIGlobalObject* aGlobal, FetchStreamReader** aStreamReader, diff --git a/taskcluster/ci/fetch/toolchain-clang-tidy-external.yml b/taskcluster/ci/fetch/toolchain-clang-tidy-external.yml --- a/taskcluster/ci/fetch/toolchain-clang-tidy-external.yml +++ b/taskcluster/ci/fetch/toolchain-clang-tidy-external.yml @@ -8,6 +8,6 @@ fetch: type: git repo: git@github.com:mozilla-services/civet.git - revision: 1a7a27f0a3bede8f94ac1e7c73f400de797296b5 + revision: 80aad808762b28268d69cfd503f52a81375249b4 ssh-key: project/civet/github-deploy-key artifact-name: civet-source.tar.zst diff --git a/taskcluster/ci/source-test/clang.yml b/taskcluster/ci/source-test/clang.yml --- a/taskcluster/ci/source-test/clang.yml +++ b/taskcluster/ci/source-test/clang.yml @@ -84,8 +84,6 @@ external: description: Run static-analysis (clang-tidy) on C/C++ patches with external checks - attributes: - code-review: false treeherder: symbol: cpp(clang-tidy-external) run: