Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
402add83
Commit
402add83
authored
Oct 24, 2018
by
Patrick José Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comm: Avoid QString initialization of empty string
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
c574a109
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
BluetoothLink.cc
src/comm/BluetoothLink.cc
+1
-1
TCPLink.cc
src/comm/TCPLink.cc
+1
-1
UDPLink.cc
src/comm/UDPLink.cc
+1
-1
No files found.
src/comm/BluetoothLink.cc
View file @
402add83
...
...
@@ -390,7 +390,7 @@ void BluetoothConfiguration::setDevName(const QString &name)
QString
BluetoothConfiguration
::
address
()
{
#ifdef __ios__
return
QString
(
""
)
;
return
{}
;
#else
return
_device
.
address
;
#endif
...
...
src/comm/TCPLink.cc
View file @
402add83
...
...
@@ -263,7 +263,7 @@ static QString get_ip_address(const QString& address)
}
}
}
return
QString
(
""
)
;
return
{}
;
}
TCPConfiguration
::
TCPConfiguration
(
const
QString
&
name
)
:
LinkConfiguration
(
name
)
...
...
src/comm/UDPLink.cc
View file @
402add83
...
...
@@ -65,7 +65,7 @@ static QString get_ip_address(const QString& address)
}
}
}
return
QString
(
""
)
;
return
{}
;
}
static
bool
contains_target
(
const
QList
<
UDPCLient
*>
list
,
const
QHostAddress
&
address
,
quint16
port
)
...
...
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