From ec6d26788a45825f3066de034f246bec8245b015 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 3 Nov 2008 21:44:12 +0100 Subject: decoder: removed "volatile" modifier The variable "next_song" is already protected by a memory barrier. "total_time" is not important for synchronization, and we don't need "volatile" here. --- src/decoder_control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder_control.h') diff --git a/src/decoder_control.h b/src/decoder_control.h index df0908477..9729396eb 100644 --- a/src/decoder_control.h +++ b/src/decoder_control.h @@ -55,8 +55,8 @@ struct decoder_control { struct audio_format out_audio_format; struct song *current_song; - struct song *volatile next_song; - volatile float total_time; + struct song *next_song; + float total_time; }; extern struct decoder_control dc; -- cgit v1.2.3