Killed warnings

brodykenrick-master
Marius Kintel 2013-12-04 01:15:19 -05:00
parent 89c21d07c4
commit 69cbb17497
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ void CocoaUtils::endApplication()
object:nil]; object:nil];
} }
void CocoaUtils::nslog(const std::string &str, void *userdata) void CocoaUtils::nslog(const std::string &str, void * /* userdata */)
{ {
NSLog([NSString stringWithUTF8String: str.c_str()]); NSLog(@"%s", str.c_str());
} }

View File

@ -162,7 +162,7 @@ void ModuleContext::dump(const AbstractModule *mod, const ModuleInstantiation *i
#endif #endif
FileContext::FileContext(const class FileModule &module, const Context *parent) FileContext::FileContext(const class FileModule &module, const Context *parent)
: usedlibs(module.usedlibs), ModuleContext(parent) : ModuleContext(parent), usedlibs(module.usedlibs)
{ {
if (!module.modulePath().empty()) this->document_path = module.modulePath(); if (!module.modulePath().empty()) this->document_path = module.modulePath();
} }