Cleaning up some unnecessary warnings.
This commit is contained in:
parent
b15a5508a0
commit
e555d65d03
1 changed files with 2 additions and 2 deletions
|
@ -29,11 +29,11 @@ XMLLoader::XMLLoader() {}
|
||||||
XMLLoader::~XMLLoader() {}
|
XMLLoader::~XMLLoader() {}
|
||||||
|
|
||||||
string XMLLoader::expandICAODirs(const string in){
|
string XMLLoader::expandICAODirs(const string in){
|
||||||
cerr << "Expanding " << in << endl;
|
//cerr << "Expanding " << in << endl;
|
||||||
if (in.size() == 4) {
|
if (in.size() == 4) {
|
||||||
char buffer[11];
|
char buffer[11];
|
||||||
snprintf(buffer, 11, "%c/%c/%c", in[0], in[1], in[2]);
|
snprintf(buffer, 11, "%c/%c/%c", in[0], in[1], in[2]);
|
||||||
cerr << "result: " << buffer << endl;
|
//cerr << "result: " << buffer << endl;
|
||||||
return string(buffer);
|
return string(buffer);
|
||||||
} else {
|
} else {
|
||||||
return in;
|
return in;
|
||||||
|
|
Loading…
Reference in a new issue