mirror of https://github.com/vitalif/openscad
Killed warnings
parent
89c21d07c4
commit
69cbb17497
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue