Skip to content
Snippets Groups Projects
Commit 2acbae09 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed missing variable initialization in constructor.

parent 35545737
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment