Merge pull request #19821 from qoega/fix-msan-1

Fix msan warnings in cyrus-sasl and musl
This commit is contained in:
alexey-milovidov 2021-01-30 10:56:12 +03:00 committed by GitHub
commit 8d2a169e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
.gitmodules vendored
View File

@ -184,7 +184,7 @@
url = https://github.com/ClickHouse-Extras/krb5 url = https://github.com/ClickHouse-Extras/krb5
[submodule "contrib/cyrus-sasl"] [submodule "contrib/cyrus-sasl"]
path = contrib/cyrus-sasl path = contrib/cyrus-sasl
url = https://github.com/cyrusimap/cyrus-sasl url = https://github.com/ClickHouse-Extras/cyrus-sasl
branch = cyrus-sasl-2.1 branch = cyrus-sasl-2.1
[submodule "contrib/croaring"] [submodule "contrib/croaring"]
path = contrib/croaring path = contrib/croaring

View File

@ -31,7 +31,7 @@ static void *volatile vdso_func = (void *)getcpu_init;
int sched_getcpu(void) int sched_getcpu(void)
{ {
int r; int r;
unsigned cpu; unsigned cpu = 0;
#ifdef VDSO_GETCPU_SYM #ifdef VDSO_GETCPU_SYM
getcpu_f f = (getcpu_f)vdso_func; getcpu_f f = (getcpu_f)vdso_func;