We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6382f4d commit ddbc784Copy full SHA for ddbc784
src/YMGANCMenuBar.cc
@@ -187,7 +187,7 @@ bool YMGANCMenuBar::HasHotkey(int key)
187
NCursesEvent YMGANCMenuBar::wHandleHotkey( wint_t key )
188
{
189
yuiDebug() << key << std::endl;
190
- NCursesEvent ret;
+ NCursesEvent ret = NCursesEvent::none;
191
__MBItem *sel = NULL;
192
for (struct __MBItem *i : d->items)
193
@@ -214,7 +214,7 @@ NCursesEvent YMGANCMenuBar::wHandleHotkey( wint_t key )
214
NCursesEvent YMGANCMenuBar::wHandleInput( wint_t key )
215
216
yuiDebug() << "wHandleInput " << key << std::endl;
217
218
219
if (itemsBegin() != itemsEnd())
220
0 commit comments