diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-05 20:12:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-06 12:42:54 (GMT) |
commit | 62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c (patch) | |
tree | cd026021827cb17c148aeee234fb957ac6f4fc86 /Source/QtDialog/CMakeSetup.cxx | |
parent | bfdf1322e7638687c96b323b1df20fd9c08b3044 (diff) | |
download | CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.zip CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.tar.gz CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.tar.bz2 |
QtDialog: fix clang-tidy warnings
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index 5a8a5be..4de4bef 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -29,18 +29,19 @@ #include "cmSystemTools.h" // IWYU pragma: keep -static const char* cmDocumentationName[][2] = { { 0, +static const char* cmDocumentationName[][2] = { { CM_NULLPTR, " cmake-gui - CMake GUI." }, - { 0, 0 } }; + { CM_NULLPTR, CM_NULLPTR } }; static const char* cmDocumentationUsage[][2] = { - { 0, " cmake-gui [options]\n" - " cmake-gui [options] <path-to-source>\n" - " cmake-gui [options] <path-to-existing-build>" }, - { 0, 0 } + { CM_NULLPTR, " cmake-gui [options]\n" + " cmake-gui [options] <path-to-source>\n" + " cmake-gui [options] <path-to-existing-build>" }, + { CM_NULLPTR, CM_NULLPTR } }; -static const char* cmDocumentationOptions[][2] = { { 0, 0 } }; +static const char* cmDocumentationOptions[] + [2] = { { CM_NULLPTR, CM_NULLPTR } }; #if defined(Q_OS_MAC) static int cmOSXInstall(std::string dir); |