Commit f26e1e4f authored by Eric Cano's avatar Eric Cano
Browse files

Fixed missing variable initialization in constructor.

parent b2b67e8c
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment