summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/ui/on_completion_box.h
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/ui/on_completion_box.h')
-rw-r--r--FreeFileSync/Source/ui/on_completion_box.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FreeFileSync/Source/ui/on_completion_box.h b/FreeFileSync/Source/ui/on_completion_box.h
index 5085735b..c787ffe2 100644
--- a/FreeFileSync/Source/ui/on_completion_box.h
+++ b/FreeFileSync/Source/ui/on_completion_box.h
@@ -51,8 +51,8 @@ private:
void setValueAndUpdateList(const std::wstring& value);
- std::vector<Zstring>* history_;
- size_t historyMax_;
+ std::vector<Zstring>* history_ = nullptr;
+ size_t historyMax_ = 0;
const std::vector<std::pair<std::wstring, Zstring>> defaultCommands;
};
bgstack15