WINGs: Make the test examples to compile

Those examples are optional but currently cannot compile properly.
The compiler is reporting some unused variables and missing header file.
This commit is contained in:
David Maciejak authored and Carlos R. Mafra committed 2023-03-07 17:24:41 +00:00
1 parent 3b1c00ad06
commit 6c69dc32a0
6 files changed
+24 -16

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ static W_Class myWidgetClass = 0;
*/
W_Class InitMyWidget(WMScreen * scr)
{
(void)scr;
/* register our widget with WINGs and get our widget class ID */
if (!myWidgetClass) {
myWidgetClass = W_RegisterUserWidget();