1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: Remove unnecessary null pointer check

Fixes #5785
This commit is contained in:
jessica181920 2019-09-16 14:22:40 -04:00
parent c37a05f40c
commit 20f948bc08

View File

@ -131,10 +131,8 @@ CameraSource& CameraSource::getInstance()
void CameraSource::destroyInstance()
{
if (instance) {
delete instance;
instance = nullptr;
}
}
/**