From f64b5b034ca2ba08fd0e753110c75d7272aca757 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Thu, 9 Feb 2017 17:35:02 +0100 Subject: [PATCH] 0 -> nullptr Signed-off-by: Sven Strickroth --- src/TortoiseShell/TortoiseGIT.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TortoiseShell/TortoiseGIT.cpp b/src/TortoiseShell/TortoiseGIT.cpp index 91b080a63..35fb372f8 100644 --- a/src/TortoiseShell/TortoiseGIT.cpp +++ b/src/TortoiseShell/TortoiseGIT.cpp @@ -1,7 +1,7 @@ // TortoiseGit - a Windows shell extension for easy version control // Copyright (C) 2003-2010, 2012 - TortoiseSVN -// Copyright (C) 2008-2012, 2014, 2016 - TortoiseGit +// Copyright (C) 2008-2012, 2014, 2016-2017 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -115,7 +115,7 @@ STDAPI DllCanUnloadNow(void) STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppvOut) { - if (ppvOut == 0) + if (!ppvOut) return E_POINTER; *ppvOut = nullptr; -- 2.11.4.GIT