Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
6870a7f1
Commit
6870a7f1
authored
Mar 09, 2019
by
Paul
Browse files
Fix cppcheck warnings
parent
b4a75da2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/schedule.cpp
src/schedule.cpp
+2
-1
No files found.
src/schedule.cpp
View file @
6870a7f1
...
@@ -144,6 +144,7 @@ struct stream_info
...
@@ -144,6 +144,7 @@ struct stream_info
result
=
true
;
result
=
true
;
return
false
;
return
false
;
}
}
// cppcheck-suppress uselessAssignmentArg
stream
=
s
;
stream
=
s
;
return
true
;
return
true
;
});
});
...
@@ -184,7 +185,7 @@ struct stream_info
...
@@ -184,7 +185,7 @@ struct stream_info
};
};
}
}
std
::
unordered_set
<
std
::
size_t
>
get_streams
(
instruction_ref
ins
)
std
::
unordered_set
<
std
::
size_t
>
get_streams
(
instruction_ref
ins
)
const
{
{
if
(
has_stream
(
ins
))
if
(
has_stream
(
ins
))
return
{
get_stream
(
ins
)};
return
{
get_stream
(
ins
)};
...
...
Write
Preview
Markdown
is supported
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