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

Fixed missing variable initialization in constructor.

parent b2b67e8c
Branches
Tags
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.
Please register or to comment