Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plugin-VSI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenFlipper-Free
Plugin-VSI
Commits
9a998bf8
Commit
9a998bf8
authored
2 years ago
by
Jan Möbius
Browse files
Options
Downloads
Patches
Plain Diff
CPPcheck fixes
parent
a70ac1a5
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
parser/context.cc
+0
-1
0 additions, 1 deletion
parser/context.cc
types/objectId/TreeItem.cc
+2
-2
2 additions, 2 deletions
types/objectId/TreeItem.cc
types/objectId/TreeItem.hh
+2
-2
2 additions, 2 deletions
types/objectId/TreeItem.hh
with
4 additions
and
5 deletions
parser/context.cc
+
0
−
1
View file @
9a998bf8
...
...
@@ -611,7 +611,6 @@ QString Context::removeCommonTrailingSpaces(const QString& in) {
// no content
return
QString
(
""
);
}
else
{
QString
placeHolder
=
""
;
for
(
int
line
=
0
;
line
<
lines
.
length
();
line
++
)
{
int
subLength
=
lines
[
line
].
length
()
-
commonTrailingSpaces
;
...
...
This diff is collapsed.
Click to expand it.
types/objectId/TreeItem.cc
+
2
−
2
View file @
9a998bf8
...
...
@@ -45,7 +45,7 @@
//--------------------------------------------------------------------------------
TreeItem
::
TreeItem
(
int
_id
,
QString
_name
,
DataType
_type
,
TreeItem
*
_parent
)
:
TreeItem
::
TreeItem
(
int
_id
,
const
QString
&
_name
,
DataType
_type
,
TreeItem
*
_parent
)
:
id_
(
_id
),
dataType_
(
_type
),
visible_
(
true
),
...
...
@@ -126,7 +126,7 @@ QString TreeItem::name() {
//--------------------------------------------------------------------------------
void
TreeItem
::
name
(
QString
_name
)
{
void
TreeItem
::
name
(
const
QString
&
_name
)
{
name_
=
_name
;
}
...
...
This diff is collapsed.
Click to expand it.
types/objectId/TreeItem.hh
+
2
−
2
View file @
9a998bf8
...
...
@@ -54,7 +54,7 @@ class TreeItem {
public
:
TreeItem
(
int
_id
,
QString
_name
,
DataType
_type
,
TreeItem
*
_parent
);
TreeItem
(
int
_id
,
const
QString
&
_name
,
DataType
_type
,
TreeItem
*
_parent
);
// static members
public:
...
...
@@ -82,7 +82,7 @@ class TreeItem {
/// name
QString
name
(
);
void
name
(
QString
_name
);
void
name
(
const
QString
&
_name
);
private:
bool
visible_
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment