Silence an unused variable warning when building with sync disabled

This commit is contained in:
Thomas Goyne 2017-09-15 13:12:44 -07:00
parent 53ca09839e
commit e697ae3d5c
1 changed files with 2 additions and 0 deletions

View File

@ -754,6 +754,8 @@ void RealmClass<T>::wait_for_download_completion(ContextType ctx, FunctionType,
return;
}
}
#else
static_cast<void>(config_object);
#endif
ValueType callback_arguments[1];