]> git.lyx.org Git - features.git/commitdiff
Fix nullptr warnings
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 1 Mar 2020 20:31:52 +0000 (15:31 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 1 Mar 2020 20:31:58 +0000 (15:31 -0500)
src/support/Systemcall.cpp

index a270b4118dbfc59584518317b37bc948b525e7c3..f5b6c27a506a3b2af3a0bfac841c90972ea85269 100644 (file)
@@ -78,7 +78,7 @@ public:
 };
 
 
-static ProgressInterface * progress_instance = 0;
+static ProgressInterface * progress_instance = nullptr;
 
 void ProgressInterface::setInstance(ProgressInterface* p)
 {
@@ -639,7 +639,7 @@ int SystemcallPrivate::exitCode()
 QProcess* SystemcallPrivate::releaseProcess()
 {
        QProcess* released = process_;
-       process_ = 0;
+       process_ = nullptr;
        return released;
 }