summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/playing_time.c9
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)
515 other stats */ 515 other stats */
516static bool playing_time(void) 516static bool playing_time(void)
517{ 517{
518 struct playing_time_info pti = {{0}}; 518 struct playing_time_info pti;
519 rb->memset(&pti, 0, sizeof(struct playing_time_info));
519 520
520 if (!pt_add_curr_track(&pti)) 521 if (!pt_add_curr_track(&pti))
521 return false; 522 return false;
522 523
523 int opt = pt_options(&pti); 524 int opt = pt_options(&pti);
524 if (opt > -1) 525 if (opt > -1)
525 return opt; 526 return opt;
526 527
527#ifdef HAVE_ADJUSTABLE_CPU_FREQ 528#ifdef HAVE_ADJUSTABLE_CPU_FREQ
528 rb->cpu_boost(true); 529 rb->cpu_boost(true);