Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
388a9551
Commit
388a9551
authored
Jan 02, 2017
by
Don Gagne
Browse files
Fix compiler warning
parent
c84d76e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionController.cc
View file @
388a9551
...
...
@@ -464,7 +464,7 @@ bool MissionController::_loadJsonMissionFileV2(const QJsonObject& json, QmlObjec
for
(
int
i
=
0
;
i
<
visualItems
->
count
();
i
++
)
{
if
(
visualItems
->
value
<
VisualMissionItem
*>
(
i
)
->
isSimpleItem
())
{
SimpleMissionItem
*
doJumpItem
=
visualItems
->
value
<
SimpleMissionItem
*>
(
i
);
if
(
doJumpItem
->
command
()
==
(
MAV_CMD
)
MAV_CMD_DO_JUMP
)
{
if
(
(
MAV_CMD
)
doJumpItem
->
command
()
==
MAV_CMD_DO_JUMP
)
{
bool
found
=
false
;
int
findDoJumpId
=
doJumpItem
->
missionItem
().
param1
();
for
(
int
j
=
0
;
j
<
visualItems
->
count
();
j
++
)
{
...
...
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