mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
CComponentsHeader: fix possible build error with dangling-else
error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else]
see commit: 02631f14ca
This commit is contained in:
@@ -308,7 +308,7 @@ void CComponentsHeader::initLogo()
|
|||||||
* FIXME: Workaround to fix next item in case of wrong order of items.
|
* FIXME: Workaround to fix next item in case of wrong order of items.
|
||||||
*/
|
*/
|
||||||
if (next_item){
|
if (next_item){
|
||||||
if (next_item->getItemType() == CC_ITEMTYPE_FRM_ICONFORM)
|
if (next_item->getItemType() == CC_ITEMTYPE_FRM_ICONFORM){
|
||||||
/* either clock is present
|
/* either clock is present
|
||||||
* or in chanellist edit mode
|
* or in chanellist edit mode
|
||||||
* possible button */
|
* possible button */
|
||||||
@@ -316,6 +316,7 @@ void CComponentsHeader::initLogo()
|
|||||||
next_item = cch_cl_obj;
|
next_item = cch_cl_obj;
|
||||||
else
|
else
|
||||||
next_item = cch_btn_obj;
|
next_item = cch_btn_obj;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user