mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Resolve warnings about unused variables.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user