summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-11-07 12:45:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-11-07 12:45:30 (GMT)
commitbd8bdb6fddcf45bdd558158e9129a5dbeef47a07 (patch)
tree69851718f2430cb3bf4af3cf5d634b0610904dec /Source/cmNinjaNormalTargetGenerator.cxx
parent4b3cb2587694a57566963eb6866f17602c337d44 (diff)
downloadCMake-bd8bdb6fddcf45bdd558158e9129a5dbeef47a07.zip
CMake-bd8bdb6fddcf45bdd558158e9129a5dbeef47a07.tar.gz
CMake-bd8bdb6fddcf45bdd558158e9129a5dbeef47a07.tar.bz2
Resolve warnings about unused variables.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 6c54ced..853bc12 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -564,6 +564,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
// for instance ARG_MAX is 2096152 on Ubuntu or 262144 on Mac
commandLineLengthLimit = ((int)sysconf(_SC_ARG_MAX))-linkRuleLength-1000;
#else
+ (void)linkRuleLength;
commandLineLengthLimit = -1;
#endif
}