Skip to content

Commit 9c1320d

Browse files
committed
issue #10546 crash when clang enable
Regression due to: ``` Commit: 6b70d80 [6b70d80] Date: Tuesday, December 26, 2023 12:50:05 PM Fixing warnings like: `Use the "nullptr" literal` Fixing sonar cloud warnings like: `Use the "nullptr" literal` ```
1 parent 9b836cf commit 9c1320d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clangparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static std::mutex g_clangMutex;
3333
ClangParser *ClangParser::instance()
3434
{
3535
std::lock_guard<std::mutex> lock(g_clangMutex);
36-
if (s_instance!=nullptr) s_instance = new ClangParser;
36+
if (s_instance==nullptr) s_instance = new ClangParser;
3737
return s_instance;
3838
}
3939

0 commit comments

Comments
 (0)