diff options
author | Brad King <brad.king@kitware.com> | 2023-05-22 18:19:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-22 18:19:19 (GMT) |
commit | 08bccb2dfd8375b7baaaa9686c3ef4aae5b8806b (patch) | |
tree | 9e09600822476147b514329e4d5d887694de1fee /Source/kwsys | |
parent | fc29c5f1bf11d018278a08ae35e2672955f9871b (diff) | |
parent | 068ff5878582743462341d0dae2b32fcdfb04099 (diff) | |
download | CMake-08bccb2dfd8375b7baaaa9686c3ef4aae5b8806b.zip CMake-08bccb2dfd8375b7baaaa9686c3ef4aae5b8806b.tar.gz CMake-08bccb2dfd8375b7baaaa9686c3ef4aae5b8806b.tar.bz2 |
Merge branch 'upstream-KWSys' into ci-fedora-38
* upstream-KWSys:
KWSys 2023-05-22 (df6f93a4)
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/RegularExpression.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/RegularExpression.cxx b/Source/kwsys/RegularExpression.cxx index f2f5143..b51e16d 100644 --- a/Source/kwsys/RegularExpression.cxx +++ b/Source/kwsys/RegularExpression.cxx @@ -378,6 +378,10 @@ bool RegularExpression::compile(const char* exp) return false; } +#ifdef __clang_analyzer__ /* Convince it that the program is initialized. */ + memset(this->program, 0, comp.regsize); +#endif + // Second pass: emit code. comp.regparse = exp; comp.regnpar = 1; |