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
dCache
cta
Commits
f26e1e4f
Commit
f26e1e4f
authored
Nov 25, 2015
by
Eric Cano
Browse files
Fixed missing variable initialization in constructor.
parent
b2b67e8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/checksum/Checksum.cpp
View file @
f26e1e4f
...
...
@@ -38,7 +38,7 @@ const char *cta::Checksum::checksumTypeToStr(const ChecksumType enumValue)
cta
::
Checksum
::
Checksum
()
:
m_type
(
CHECKSUMTYPE_NONE
)
{
}
cta
::
Checksum
::
Checksum
(
const
std
::
string
&
url
)
{
cta
::
Checksum
::
Checksum
(
const
std
::
string
&
url
)
:
m_type
(
CHECKSUMTYPE_NONE
)
{
if
(
url
.
empty
()
||
url
==
"-"
)
{
return
;
}
...
...
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