mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 18:20:35 +03:00
klocwork: fix risk issues
This commit is contained in:
committed by
Konstantinos Margaritis
parent
75dbedeebe
commit
978105a4c0
@@ -61,7 +61,7 @@ public:
|
||||
std::lock_guard<std::mutex> lock(mutex);
|
||||
if (failed) {
|
||||
// We have previously failed to compile this database.
|
||||
return nullptr;
|
||||
throw CompileFailed("Unable to compile db previously.");
|
||||
}
|
||||
if (db) {
|
||||
return db;
|
||||
|
||||
Reference in New Issue
Block a user