From cf6522f58d14d0d33c21531b3763081f84e36318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Fri, 16 Jul 2021 12:43:36 +0200 Subject: [PATCH] Refs #12130. Fix warning on windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- test/unittest/dds/subscriber/DataReaderTests.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/unittest/dds/subscriber/DataReaderTests.cpp b/test/unittest/dds/subscriber/DataReaderTests.cpp index 37d14db5dd9..9edea58afda 100644 --- a/test/unittest/dds/subscriber/DataReaderTests.cpp +++ b/test/unittest/dds/subscriber/DataReaderTests.cpp @@ -1629,13 +1629,11 @@ TEST_F(DataReaderTests, Deserialization_errors) EXPECT_TRUE(data_reader_->wait_for_unread_message(time_to_wait)); { - FooType data; SampleInfo info; EXPECT_EQ(no_data_code, data_reader_->take_next_sample(&data, &info)); } { - FooType data; SampleInfo info; EXPECT_EQ(no_data_code, data_reader_->read_next_sample(&data, &info)); }