From 70f84f0d971d0998dd4ea5a5d834d7fa234d42e1 Mon Sep 17 00:00:00 2001 From: Alexander Kopachov Date: Fri, 28 Oct 2022 16:05:33 +0200 Subject: [PATCH] Still fixing SONAR issues (#15) --- scenes/scene_director.c | 2 +- scenes/scene_director.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scenes/scene_director.c b/scenes/scene_director.c index d4ddd176888..5265123f594 100644 --- a/scenes/scene_director.c +++ b/scenes/scene_director.c @@ -88,7 +88,7 @@ void totp_scene_director_render(Canvas* const canvas, PluginState* const plugin_ } } -void totp_scene_director_dispose(PluginState* const plugin_state) { +void totp_scene_director_dispose(const PluginState* const plugin_state) { totp_scene_generate_token_free(plugin_state); totp_scene_authenticate_free(plugin_state); totp_scene_add_new_token_free(plugin_state); diff --git a/scenes/scene_director.h b/scenes/scene_director.h index 3c25afff654..cc06029d39c 100644 --- a/scenes/scene_director.h +++ b/scenes/scene_director.h @@ -12,5 +12,5 @@ void totp_scene_director_activate_scene( void totp_scene_director_deactivate_active_scene(PluginState* const plugin_state); void totp_scene_director_init_scenes(PluginState* const plugin_state); void totp_scene_director_render(Canvas* const canvas, PluginState* const plugin_state); -void totp_scene_director_dispose(PluginState* const plugin_state); +void totp_scene_director_dispose(const PluginState* const plugin_state); bool totp_scene_director_handle_event(PluginEvent* const event, PluginState* const plugin_state);