diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-06-14 13:45:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-06-24 14:21:53 (GMT) |
commit | 0e1cb07e841c5ca9207bc4e32ff0672476226cc0 (patch) | |
tree | 6f838ece6991d3e5d92876c3cc192c52d8c2934c /Source/cmGeneratorExpressionEvaluator.cxx | |
parent | 0bd82cb1a7be7492df0eb1d9ebb857dc246a0d6d (diff) | |
download | CMake-0e1cb07e841c5ca9207bc4e32ff0672476226cc0.zip CMake-0e1cb07e841c5ca9207bc4e32ff0672476226cc0.tar.gz CMake-0e1cb07e841c5ca9207bc4e32ff0672476226cc0.tar.bz2 |
Add missing return after error report.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx index 701c547..3e18bba 100644 --- a/Source/cmGeneratorExpressionEvaluator.cxx +++ b/Source/cmGeneratorExpressionEvaluator.cxx @@ -429,6 +429,7 @@ static const struct LinkLanguageNode : public cmGeneratorExpressionNode reportError(context, content->GetOriginalExpression(), "$<LINK_LANGUAGE> may only be used with targets. It may not " "be used with add_custom_command."); + return std::string(); } const char *lang = target->GetLinkerLanguage(context->Config); |