From: Richard Kimberly Heck Date: Sun, 1 Mar 2020 20:31:52 +0000 (-0500) Subject: Fix nullptr warnings X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=80d9563ee89b96eac99c5fb514816da39460461c;p=features.git Fix nullptr warnings --- diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index a270b4118d..f5b6c27a50 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -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; }