Removed valgrind warnings in resampler_unittest.
Valgrind complained on uninitialized values in resampler_unittest. Added initialization of the member variable data_in_ in the tests. Review URL: http://webrtc-codereview.appspot.com/322006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1167 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
076fa6e674
commit
0edb25dcc9
@ -62,7 +62,10 @@ class ResamplerTest : public testing::Test {
|
||||
|
||||
ResamplerTest::ResamplerTest() {}
|
||||
|
||||
void ResamplerTest::SetUp() {}
|
||||
void ResamplerTest::SetUp() {
|
||||
// Initialize input data with anything. The tests are content independent.
|
||||
memset(data_in_, 1, sizeof(data_in_));
|
||||
}
|
||||
|
||||
void ResamplerTest::TearDown() {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user