summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-13 12:18:13 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-13 12:18:13 (GMT)
commitc1b92d2ea02dab89da1c1292be66aab657aa263b (patch)
treea508c1885e28301c796e545574d703c2cc048002 /Source/cmLocalUnixMakefileGenerator.cxx
parent6c3aaa42b72e769618cc2e3949fd02b704ecbe39 (diff)
downloadCMake-c1b92d2ea02dab89da1c1292be66aab657aa263b.zip
CMake-c1b92d2ea02dab89da1c1292be66aab657aa263b.tar.gz
CMake-c1b92d2ea02dab89da1c1292be66aab657aa263b.tar.bz2
compiler warning
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index d84948d..dcd53d4 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -406,11 +406,11 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
}
fout << "\n\n";
const char * qt_files = m_Makefile->GetDefinition("GENERATED_QT_FILES");
- if (m_Makefile->GetDefinition("GENERATED_QT_FILES")!=NULL &&
+ if (qt_files != NULL &&
strlen(m_Makefile->GetDefinition("GENERATED_QT_FILES"))>0)
{
fout << "GENERATED_QT_FILES = ";
- fout << m_Makefile->GetDefinition("GENERATED_QT_FILES");
+ fout << qt_files;
fout << "\n\n";
}
}