--Code Change

-Fix compiler warnings in XmlToEmber
This commit is contained in:
Seth Troisi
2022-02-13 00:30:56 -08:00
parent ee7ca7065e
commit 344c8c6457
10 changed files with 22 additions and 30 deletions

View File

@ -137,7 +137,7 @@ static string GetExePath(const char* argv0)
cerr << "Could not discern full path from executable.\n";
#else
auto fullsize = readlink("/proc/self/exe", v.data(), v.size());
readlink("/proc/self/exe", v.data(), v.size());
fullpath = string(v.data());
#endif
#endif

View File

@ -250,7 +250,6 @@ struct NoDelimiters : std::ctype<char>
static std::ctype_base::mask const* GetTable()
{
typedef std::ctype<char> cctype;
static const cctype::mask* const_rc = cctype::classic_table();
static cctype::mask rc[cctype::table_size];
std::memset(rc, 0, cctype::table_size * sizeof(cctype::mask));
return &rc[0];