diff options
author | Brad King <brad.king@kitware.com> | 2018-04-06 14:29:31 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-04-06 10:29:38 -0400 |
commit | 607b0ac2f3be1cbe7a0d8acbc711836935d5e3d6 (patch) | |
tree | 4a80d4330d28dc8d42aa3e44a936c13799bc1e0e /Source/cmTargetLinkLibrariesCommand.h | |
parent | 5454b41e1b95d154c4f6a0c1f191a4e794765d95 (diff) | |
parent | acda926a047c5958af32fd6f88dd184f5d769319 (diff) | |
download | cmake-607b0ac2f3be1cbe7a0d8acbc711836935d5e3d6.tar.gz |
Merge topic 'minor-cleanups'
acda926a04 Replace some uses of sprintf with std::to_string
418541035f cmCTestCurl: Fix UploadFile declared parameter names
1519628e60 cmVisualStudio10TargetGenerator: Make NsightTegraVersion unsigned
2f87d00803 cmMacroCommand: Fix format string to match type of argument
b0676cc5d4 Add in-class initialization of some members
966dba5b68 cmAlgorithms: Remove unnecessary typename keyword
12a145534a gitignore: Ignore a .vs directory in the source tree
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1932
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.h')
-rw-r--r-- | Source/cmTargetLinkLibrariesCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.h b/Source/cmTargetLinkLibrariesCommand.h index a2f3ecd4d4..54f8cf4b8f 100644 --- a/Source/cmTargetLinkLibrariesCommand.h +++ b/Source/cmTargetLinkLibrariesCommand.h @@ -43,7 +43,7 @@ private: void LinkLibraryTypeSpecifierWarning(int left, int right); static const char* LinkLibraryTypeNames[3]; - cmTarget* Target; + cmTarget* Target = nullptr; enum ProcessingState { ProcessingLinkLibraries, @@ -55,7 +55,7 @@ private: ProcessingKeywordPrivateInterface }; - ProcessingState CurrentProcessingState; + ProcessingState CurrentProcessingState = ProcessingLinkLibraries; bool HandleLibrary(const std::string& lib, cmTargetLinkLibraryType llt); }; |