For now, I removed the whole function and call to it, but it does cause this compile error on OFW compile:
applications/external/barcode_app/views/message_view.c: In function 'message_view_free_model':
applications/external/barcode_app/views/message_view.c:59:28: error: unused variable 'model' [-Werror=unused-variable]
59 | MessageViewModel * model,
^~~~~
applications/services/gui/view.h:233:9: note: in definition of macro 'with_view_model'
233 | type = view_get_model(view); \
^~~~
Could you fix the compile issue on this file?
https://github.com/Kingal1337/flipper-barcode-generator/blob/master/views/message_view.c#L59
For now, I removed the whole function and call to it, but it does cause this compile error on OFW compile: applications/external/barcode_app/views/message_view.c: In function 'message_view_free_model': applications/external/barcode_app/views/message_view.c:59:28: error: unused variable 'model' [-Werror=unused-variable] 59 | MessageViewModel * model, ^~~~~ applications/services/gui/view.h:233:9: note: in definition of macro 'with_view_model' 233 | type = view_get_model(view); \ ^~~~