Fixed compiler warnings
This commit is contained in:
parent
0df757895e
commit
661bb522cf
@ -30,7 +30,9 @@ LoadStepFn get_load_step_fn()
|
||||
{
|
||||
static LoadStepFn load_step_fn = nullptr;
|
||||
|
||||
#ifndef __APPLE__
|
||||
constexpr const char* fn_name = "load_step_internal";
|
||||
#endif
|
||||
|
||||
if (!load_step_fn) {
|
||||
auto libpath = boost::dll::program_location().parent_path();
|
||||
|
@ -80,7 +80,7 @@ static void getNamedSolids(const TopLoc_Location& location, const Handle(XCAFDoc
|
||||
extern "C" OCCTWRAPPER_EXPORT bool load_step_internal(const char *path, OCCTResult* res /*BBS:, ImportStepProgressFn proFn*/)
|
||||
{
|
||||
try {
|
||||
bool cb_cancel = false;
|
||||
//bool cb_cancel = false;
|
||||
//if (proFn) {
|
||||
// proFn(LOAD_STEP_STAGE_READ_FILE, 0, 1, cb_cancel);
|
||||
// if (cb_cancel)
|
||||
|
Loading…
Reference in New Issue
Block a user