diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-02 21:39:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-03 01:22:13 +0200 |
commit | c9d56d6fb1c8eca558db937b99b89535893950a0 (patch) | |
tree | 81a4cb7c34af7e78fab8cc2e5780511e8c451978 /editor | |
parent | fc1a03f9a257faf78de7838954709593ab4da628 (diff) |
fix some harmless msvc stuff
Diffstat (limited to 'editor')
-rw-r--r-- | editor/inspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/inspect.cpp b/editor/inspect.cpp index 1631f11c..131f15e1 100644 --- a/editor/inspect.cpp +++ b/editor/inspect.cpp @@ -67,8 +67,8 @@ bool do_inspect_field(void* datum, const erased_accessor& accessor, field_repr r fm_assert(accessor.check_field_type<T>()); fm_assert(!list.isEmpty() == (repr == field_repr::cbx)); - bool should_disable; char buf[128]; + bool should_disable = false; switch (accessor.is_enabled(datum)) { |