Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utils
KWSys
Commits
ebb48d58
Commit
ebb48d58
authored
Apr 08, 2020
by
Ben Boeckel
⛰
Committed by
Brad King
Apr 09, 2020
Browse files
clang-tidy: address google-readability-casting lint
parent
13b45a41
Changes
1
Hide whitespace changes
Inline
Side-by-side
ProcessUNIX.c
View file @
ebb48d58
...
...
@@ -1370,11 +1370,13 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout)
cp
->
ProcessResults
[
prPipe
].
State
=
kwsysProcess_StateByIndex_Exited
;
cp
->
ProcessResults
[
prPipe
].
ExitException
=
kwsysProcess_Exception_None
;
cp
->
ProcessResults
[
prPipe
].
ExitValue
=
// NOLINTNEXTLINE(google-readability-casting)
(
int
)
WEXITSTATUS
(
cp
->
ProcessResults
[
prPipe
].
ExitCode
);
}
else
if
(
WIFSIGNALED
(
cp
->
ProcessResults
[
prPipe
].
ExitCode
))
{
/* The child received an unhandled signal. */
cp
->
ProcessResults
[
prPipe
].
State
=
kwsysProcess_State_Exception
;
kwsysProcessSetExitExceptionByIndex
(
// NOLINTNEXTLINE(google-readability-casting)
cp
,
(
int
)
WTERMSIG
(
cp
->
ProcessResults
[
prPipe
].
ExitCode
),
prPipe
);
}
else
{
/* Error getting the child return code. */
...
...
Brad King
@brad.king
mentioned in commit
95a97253
·
Apr 09, 2020
mentioned in commit
95a97253
mentioned in commit 95a97253a178dc05f8c66a632588ea80da7159a3
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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