Commit 8fbe9940 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix warning about use of uninitialized value

Reviewed-by: thorbjorn
parent 8269be2a
......@@ -75,7 +75,7 @@ QWidget *CompletionSettingsPage::createPage(QWidget *parent)
QWidget *w = new QWidget(parent);
m_page->setupUi(w);
int caseSensitivityIndex;
int caseSensitivityIndex = 0;
switch (m_completion->caseSensitivity()) {
case CppCodeCompletion::CaseSensitive:
caseSensitivityIndex = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment