From 80d9563ee89b96eac99c5fb514816da39460461c Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Sun, 1 Mar 2020 15:31:52 -0500 Subject: [PATCH] Fix nullptr warnings --- src/support/Systemcall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5