diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-08-11 18:49:47 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-08-11 18:49:47 +0200 |
commit | 28badc5703615d71dbffbdb6b4be499513727980 (patch) | |
tree | 9f5cc093638cc9ceb3df7d8c2051c688ac3ddda1 | |
parent | 52b9656ed698dd0874db87940ec8abf5a1d4b6f6 (diff) | |
download | rockbox-28badc5703.tar.gz rockbox-28badc5703.zip |
Fix yellow from commit 52b9656ed6
Change-Id: I449396e4a43a6909738912ae2a6284acdf16352a
-rw-r--r-- | apps/plugins/playing_time.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/playing_time.c b/apps/plugins/playing_time.c index aa14225ae9..47784cf85e 100644 --- a/apps/plugins/playing_time.c +++ b/apps/plugins/playing_time.c @@ -515,14 +515,15 @@ static bool pt_add_curr_track(struct playing_time_info *pti) other stats */ static bool playing_time(void) { - struct playing_time_info pti = {{0}}; + struct playing_time_info pti; + rb->memset(&pti, 0, sizeof(struct playing_time_info)); if (!pt_add_curr_track(&pti)) return false; - int opt = pt_options(&pti); - if (opt > -1) - return opt; + int opt = pt_options(&pti); + if (opt > -1) + return opt; #ifdef HAVE_ADJUSTABLE_CPU_FREQ rb->cpu_boost(true); |