From 505d0768f8392e3c4775425dd97f41e1c829ef44 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 30 Apr 2016 18:23:42 +0100 Subject: Apply clang-tidy: modernize-use-nullptr --- src/modules/help/libkvihelp.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/help/libkvihelp.cpp') diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp index c5dde5b99..d526c77a5 100644 --- a/src/modules/help/libkvihelp.cpp +++ b/src/modules/help/libkvihelp.cpp @@ -36,9 +36,9 @@ #include #include -HelpIndex * g_pDocIndex = 0; -KviPointerList * g_pHelpWidgetList = 0; -KviPointerList * g_pHelpWindowList = 0; +HelpIndex * g_pDocIndex = nullptr; +KviPointerList * g_pHelpWidgetList = nullptr; +KviPointerList * g_pHelpWindowList = nullptr; /* @doc: help.open @@ -246,11 +246,11 @@ static bool help_module_cleanup(KviModule *) while(g_pHelpWidgetList->first()) delete g_pHelpWidgetList->first(); delete g_pHelpWidgetList; - g_pHelpWidgetList = 0; + g_pHelpWidgetList = nullptr; while(g_pHelpWindowList->first()) g_pHelpWindowList->first()->close(); delete g_pHelpWindowList; - g_pHelpWindowList = 0; + g_pHelpWindowList = nullptr; return true; } -- cgit v1.3.1-10-gc9f91