Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
This commit is contained in:
commit
d15cf7b672
55 changed files with 94 additions and 202 deletions
|
|
@ -768,7 +768,8 @@ Error EditorExportPlatformIOS::_export_additional_assets(const String &p_out_dir
|
|||
DirAccess *da = DirAccess::create_for_path(asset);
|
||||
if (!da) {
|
||||
memdelete(filesystem_da);
|
||||
ERR_FAIL_COND_V(!da, ERR_CANT_CREATE);
|
||||
ERR_EXPLAIN("Can't create directory: " + asset);
|
||||
ERR_FAIL_V(ERR_CANT_CREATE);
|
||||
}
|
||||
bool file_exists = da->file_exists(asset);
|
||||
bool dir_exists = da->dir_exists(asset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue