mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 13:56:06 -04:00
--Code Change
-Fix compiler warnings in XmlToEmber
This commit is contained in:
@ -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
|
||||
|
@ -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];
|
||||
|
Reference in New Issue
Block a user