Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Libor Bukata
CMake
Commits
25486156
Commit
25486156
authored
May 26, 2017
by
Pavel Solodovnikov
Browse files
Improved checking for number of arguments passed
parent
86dc86dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmAuxSourceDirectoryCommand.cxx
View file @
25486156
...
...
@@ -18,7 +18,7 @@ class cmExecutionStatus;
bool
cmAuxSourceDirectoryCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
{
if
(
args
.
size
()
<
2
||
args
.
size
()
>
2
)
{
if
(
args
.
size
()
!=
2
)
{
this
->
SetError
(
"called with incorrect number of arguments"
);
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment