summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-06 11:15:00 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-06 11:20:27 +0200
commit7b5d1ea5b9e5eb1d5b4dfccd3f3fe90b3b134444 (patch)
tree7b8a04cd05ea1886b602f28d25292e869c00b0d7 /editor/import
parentc36735ef9779cf71d1ce749927faee53f08263a8 (diff)
Fix various uninitialized member pointers
Using this command: ``` find -name "thirdparty" -prune -o -name "*.h" -exec sed -i {} -e '/return /! s/\t\([A-Za-z0-9_]* \*[A-Za-z0-9_]*\)\;/\t\1 = nullptr;/g' \; ``` And then reviewing the changes manually to discard the ones that don't seem correct/safe/good (notably changes to `core` unions).
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/scene_import_settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/scene_import_settings.h b/editor/import/scene_import_settings.h
index 104a7a9f7e..0e12a83116 100644
--- a/editor/import/scene_import_settings.h
+++ b/editor/import/scene_import_settings.h
@@ -192,7 +192,7 @@ class SceneImportSettings : public ConfirmationDialog {
bool editing_animation = false;
- Timer *update_view_timer;
+ Timer *update_view_timer = nullptr;
protected:
void _notification(int p_what);