mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Build: Resolve warnings from flod build
This commit is contained in:
parent
690d9493f0
commit
9630b76990
2 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <utf8.h>
|
||||
|
||||
static const std::string uuid_pattern = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
||||
static const int uuid_min_length = 8;
|
||||
static const unsigned int uuid_min_length = 8;
|
||||
|
||||
std::string Lexer::dateFormat = "";
|
||||
bool Lexer::isoEnabled = true;
|
||||
|
@ -158,6 +158,8 @@ const std::string Lexer::typeName (const Lexer::Type& type)
|
|||
case Lexer::Type::date: return "date";
|
||||
case Lexer::Type::duration: return "duration";
|
||||
}
|
||||
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -1964,6 +1964,8 @@ Variant::operator std::string () const
|
|||
case type_unknown:
|
||||
throw std::string (STRING_VARIANT_RENDER_UNK);
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue