summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorArtur Ryt <artur.ryt@gmail.com>2018-12-13 19:45:11 (GMT)
committerArtur Ryt <artur.ryt@gmail.com>2018-12-28 14:16:37 (GMT)
commit67ac4ed1dc5ad049ab443ce76a3f93b207703cec (patch)
tree0c2f9df7ca7cb25c256eb329243b97fbde751333 /Source/cmMakefile.h
parent5257af363442aa4168776b70db1fc58d218a20c8 (diff)
downloadCMake-67ac4ed1dc5ad049ab443ce76a3f93b207703cec.zip
CMake-67ac4ed1dc5ad049ab443ce76a3f93b207703cec.tar.gz
CMake-67ac4ed1dc5ad049ab443ce76a3f93b207703cec.tar.bz2
cmMakefile: Move uninitialized vars logic into MaybeWarnUninitialized()
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index be1e6a1..1a2a0e7 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -866,6 +866,8 @@ public:
std::deque<std::vector<std::string>> FindPackageRootPathStack;
void MaybeWarnCMP0074(std::string const& pkg);
+ void MaybeWarnUninitialized(std::string const& variable,
+ const char* sourceFilename) const;
bool IsProjectFile(const char* filename) const;
protected: