Build: Resolve warnings from flod build
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
#include <utf8.h>
|
#include <utf8.h>
|
||||||
|
|
||||||
static const std::string uuid_pattern = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
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 = "";
|
std::string Lexer::dateFormat = "";
|
||||||
bool Lexer::isoEnabled = true;
|
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::date: return "date";
|
||||||
case Lexer::Type::duration: return "duration";
|
case Lexer::Type::duration: return "duration";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return "unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -1964,6 +1964,8 @@ Variant::operator std::string () const
|
|||||||
case type_unknown:
|
case type_unknown:
|
||||||
throw std::string (STRING_VARIANT_RENDER_UNK);
|
throw std::string (STRING_VARIANT_RENDER_UNK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user