diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-04-05 14:09:59 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-04-05 14:09:59 +0200 |
commit | d83761ba80b90e17aaefaa83c7ece0fa89511266 (patch) | |
tree | 39544b604c8be6cf6daa56a2a7774426d394c2a3 /modules/fbx/tools/validation_tools.h | |
parent | 9bbe51dc279e1203962bdf0b3266c9b14307638c (diff) | |
download | redot-engine-d83761ba80b90e17aaefaa83c7ece0fa89511266.tar.gz |
Style: Apply clang-tidy's `readability-braces-around-statements`
Diffstat (limited to 'modules/fbx/tools/validation_tools.h')
-rw-r--r-- | modules/fbx/tools/validation_tools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/fbx/tools/validation_tools.h b/modules/fbx/tools/validation_tools.h index ced100aed2..fe0c92b22f 100644 --- a/modules/fbx/tools/validation_tools.h +++ b/modules/fbx/tools/validation_tools.h @@ -65,8 +65,9 @@ protected: Error err; FileAccess *file = FileAccess::open(path, FileAccess::WRITE, &err); if (!file || err) { - if (file) + if (file) { memdelete(file); + } print_error("ValidationTracker Error - failed to create file - path: %s\n" + path); return; } |