Skip to content

Commit dc8cfd3

Browse files
sthibaulfalkTX
authored andcommitted
Drop use of non-initialized variables
Signed-off-by: Samuel Thibault <[email protected]>
1 parent 120a102 commit dc8cfd3

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

solaris/oss/JackBoomerDriver.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ void JackBoomerDriver::SetSampleFormat()
141141
void JackBoomerDriver::DisplayDeviceInfo()
142142
{
143143
audio_buf_info info;
144-
oss_audioinfo ai_in, ai_out;
145144
memset(&info, 0, sizeof(audio_buf_info));
146145
int cap = 0;
147146

@@ -225,10 +224,6 @@ void JackBoomerDriver::DisplayDeviceInfo()
225224
if (cap & DSP_CAP_BIND) jack_info(" DSP_CAP_BIND");
226225
}
227226
}
228-
229-
if (ai_in.rate_source != ai_out.rate_source) {
230-
jack_info("Warning : input and output are not necessarily driven by the same clock!");
231-
}
232227
}
233228

234229
JackBoomerDriver::JackBoomerDriver(const char* name, const char* alias, JackLockedEngine* engine, JackSynchro* table)

solaris/oss/JackOSSDriver.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ void JackOSSDriver::SetSampleFormat()
140140
void JackOSSDriver::DisplayDeviceInfo()
141141
{
142142
audio_buf_info info;
143-
oss_audioinfo ai_in, ai_out;
144143
memset(&info, 0, sizeof(audio_buf_info));
145144
int cap = 0;
146145

@@ -223,10 +222,6 @@ void JackOSSDriver::DisplayDeviceInfo()
223222
if (cap & DSP_CAP_BIND) jack_info(" DSP_CAP_BIND");
224223
}
225224
}
226-
227-
if (ai_in.rate_source != ai_out.rate_source) {
228-
jack_info("Warning : input and output are not necessarily driven by the same clock!");
229-
}
230225
}
231226

232227
int JackOSSDriver::OpenInput()

0 commit comments

Comments
 (0)