mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
easylogging++: test for NULL before dereference
This commit is contained in:
parent
7ece1550e1
commit
5fdcda50ee
1 changed files with 2 additions and 2 deletions
4
external/easylogging++/easylogging++.cc
vendored
4
external/easylogging++/easylogging++.cc
vendored
|
@ -1975,11 +1975,11 @@ void VRegistry::setCategories(const char* categories, bool clear) {
|
|||
m_cached_allowed_categories.clear();
|
||||
m_categoriesString.clear();
|
||||
}
|
||||
if (!categories)
|
||||
return;
|
||||
if (!m_categoriesString.empty())
|
||||
m_categoriesString += ",";
|
||||
m_categoriesString += categories;
|
||||
if (!categories)
|
||||
return;
|
||||
|
||||
bool isCat = true;
|
||||
bool isLevel = false;
|
||||
|
|
Loading…
Reference in a new issue