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
CoMISo
Base
Commits
e8a5c389
Commit
e8a5c389
authored
Jul 26, 2017
by
Martin Marinov
Browse files
Fix OS X compilation warnings.
parent
db0b61ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Test/Checksum.cc
View file @
e8a5c389
...
...
@@ -10,7 +10,7 @@
namespace
Test
{
namespace
Checksum
{
extern
Level
run_lvl
=
L_NONE
;
Level
run_lvl
=
L_NONE
;
namespace
{
...
...
@@ -31,7 +31,7 @@ const Registry& registry()
// class Checksum implementation
Object
::
Object
(
const
char
*
const
_name
,
const
Level
_lvl
)
:
name_
(
_name
),
lvl_
(
_lvl
)
:
lvl_
(
_lvl
),
name_
(
_name
)
{
auto
pos
=
registry_modify
().
emplace
(
name_
,
this
);
if
(
!
pos
.
second
)
...
...
@@ -128,6 +128,7 @@ Difference Object::compare(
// HANG replaced by gracious failure!
case
Result
::
FAILURE
:
DIFFERENCE
(
IMPROVED
);
break
;
case
Result
::
CRASH
:
DIFFERENCE
(
SUSPICIOUS
);
break
;
// HANG is now CRASH!
default:
;
// disable warnings
};
break
;
}
...
...
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