This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 82ee0d1e241d015d2bbadd2b2a34b95e1024b2c1 Author: Xiang Xiao <[email protected]> AuthorDate: Fri Nov 11 15:13:58 2022 +0800 Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator] Signed-off-by: Xiang Xiao <[email protected]> --- graphics/twm4nx/src/cwindow.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/graphics/twm4nx/src/cwindow.cxx b/graphics/twm4nx/src/cwindow.cxx index bb87c5055..172d5fde5 100644 --- a/graphics/twm4nx/src/cwindow.cxx +++ b/graphics/twm4nx/src/cwindow.cxx @@ -94,19 +94,15 @@ struct SToolbarInfo struct SToolbarInfo GToolBarInfo[NTOOLBAR_BUTTONS] = { - [MENU_BUTTON] = { &CONFIG_TWM4NX_MENU_IMAGE, false, EVENT_TOOLBAR_MENU }, - [DELETE_BUTTON] = { &CONFIG_TWM4NX_TERMINATE_IMAGE, true, EVENT_TOOLBAR_TERMINATE }, - [RESIZE_BUTTON] = { &CONFIG_TWM4NX_RESIZE_IMAGE, true, EVENT_RESIZE_BUTTON }, - [MINIMIZE_BUTTON] = { &CONFIG_TWM4NX_MINIMIZE_IMAGE, true, EVENT_TOOLBAR_MINIMIZE }
