FileGameSound: remove superfluous parentheses.

Pointed out by Axel on haiku-commits.
This commit is contained in:
Adrien Destugues 2019-12-11 13:24:39 +01:00
parent f2ad50f6a2
commit baa739985b
1 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ BFileGameSound::StopPlaying()
{ {
status_t error = BStreamingGameSound::StopPlaying(); status_t error = BStreamingGameSound::StopPlaying();
if ((fAudioStream == NULL) || (fAudioStream->stream == NULL)) if (fAudioStream == NULL || fAudioStream->stream == NULL)
return B_OK; return B_OK;
// start reading next time from the start of the file // start reading next time from the start of the file
@ -461,7 +461,7 @@ BFileGameSound::Init(BDataIO* data)
bool bool
BFileGameSound::Load() BFileGameSound::Load()
{ {
if ((fAudioStream == NULL) || (fAudioStream->stream == NULL)) if (fAudioStream == NULL || fAudioStream->stream == NULL)
return false; return false;
// read a new buffer // read a new buffer