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/socketspy/libkvisocketspy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/socketspy/libkvisocketspy.cpp') diff --git a/src/modules/socketspy/libkvisocketspy.cpp b/src/modules/socketspy/libkvisocketspy.cpp index 81995cc5f..9ecaa2863 100644 --- a/src/modules/socketspy/libkvisocketspy.cpp +++ b/src/modules/socketspy/libkvisocketspy.cpp @@ -30,7 +30,7 @@ #include -KviPointerList * g_pSocketSpyWindowList = 0; +KviPointerList * g_pSocketSpyWindowList = nullptr; /* @doc: socketspy.open @@ -71,7 +71,7 @@ static bool socketspy_module_cleanup(KviModule *) while(g_pSocketSpyWindowList->first()) g_pSocketSpyWindowList->first()->die(); delete g_pSocketSpyWindowList; - g_pSocketSpyWindowList = 0; + g_pSocketSpyWindowList = nullptr; return true; } -- cgit v1.3.1-10-gc9f91