File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
cpp/common/test/rules/donotallowamutextogooutofscopewhilelocked Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ void join_threads(std::thread *threads) {
131
131
132
132
void f11 () {
133
133
std::thread threads[5 ];
134
- std::mutex m1; // NON_COMPLIANT (FALSE POSITIVE)
134
+ std::mutex m1; // COMPLIANT[FALSE_POSITIVE]
135
135
136
136
for (int i = 0 ; i < 5 ; ++i) {
137
137
threads[i] = std::thread (t1, i, &m1);
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+
4
+ if [[ -z $1 ]];
5
+ then
6
+ echo " Usage: bump_version.sh <new_version>"
7
+ exit
8
+ fi
9
+
10
+ echo " Setting Local Branch Version to $1 ."
11
+
12
+ find . -name ' qlpack.yml' | grep -v ' ./codeql_modules' | grep -v ' ./scripts' | xargs sed -i " s/^version.*$/version: ${1} /"
13
+
14
+ echo " Done."
You can’t perform that action at this time.
0 commit comments