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
Sebastian Schrader
Kea
Commits
4faf2a0b
Commit
4faf2a0b
authored
Jun 24, 2015
by
Francis Dupont
Browse files
[3919] Fixed cppcheck suppressions
parent
5fccc346
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/config/tests/module_spec_unittests.cc
View file @
4faf2a0b
...
...
@@ -290,7 +290,6 @@ TEST(ModuleSpec, CheckFormat) {
std
::
vector
<
std
::
string
>
specs
;
ConstElementPtr
el
;
// cppcheck-suppress redundantAssignment
specs
.
clear
();
item_default
=
"
\"
item_default
\"
:
\"
2011-05-27T19:42:57Z
\"
,"
;
item_format
=
"
\"
item_format
\"
:
\"
date-time
\"
"
;
...
...
@@ -307,10 +306,12 @@ TEST(ModuleSpec, CheckFormat) {
item_default
=
""
;
item_format
=
"
\"
item_format
\"
:
\"
date
\"
"
;
specs
.
push_back
(
","
+
item_format
);
// cppcheck-suppress redundantAssignment
item_default
=
""
;
item_format
=
"
\"
item_format
\"
:
\"
time
\"
"
;
specs
.
push_back
(
","
+
item_format
);
// cppcheck-suppress redundantAssignment
item_default
=
"
\"
item_default
\"
:
\"
a
\"
"
;
specs
.
push_back
(
","
+
item_default
);
item_default
=
"
\"
item_default
\"
:
\"
b
\"
"
;
...
...
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