Skip to content

Commit

Permalink
Drop use of non-initialized variables
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Thibault <[email protected]>
  • Loading branch information
sthibaul committed Nov 3, 2024
1 parent 43e1173 commit 42512e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions solaris/oss/JackOSSDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void JackOSSDriver::SetSampleFormat()
void JackOSSDriver::DisplayDeviceInfo()
{
audio_buf_info info;
oss_audioinfo ai_in, ai_out;
memset(&info, 0, sizeof(audio_buf_info));
int cap = 0;

Expand Down Expand Up @@ -223,10 +222,6 @@ void JackOSSDriver::DisplayDeviceInfo()
if (cap & DSP_CAP_BIND) jack_info(" DSP_CAP_BIND");
}
}

if (ai_in.rate_source != ai_out.rate_source) {
jack_info("Warning : input and output are not necessarily driven by the same clock!");
}
}

int JackOSSDriver::OpenInput()
Expand Down

0 comments on commit 42512e5

Please sign in to comment.