Skip to content

Commit 009e175

Browse files
committed
Remove unused variables
1 parent da55217 commit 009e175

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

test/SocketTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ TEST_GROUP(SocketTest)
126126
static inline constexpr std::uint16_t port{1234};
127127
static inline constexpr Protocol protocol = Protocol::tcp;
128128
static inline constexpr std::uint8_t flag{0};
129-
static inline constexpr auto statusSendOk = static_cast<std::uint8_t>(SocketInterrupt::Mask::send);
130129
static inline constexpr std::uint16_t defaultSize{10};
131130
};
132131

@@ -487,7 +486,6 @@ TEST(SocketTest, receiveReturnsErrorIfStatusNotEstablished)
487486
TEST(SocketTest, receiveReceivesData)
488487
{
489488
auto buffer = createBuffer(defaultSize);
490-
std::span<std::uint8_t> bufferSpan{buffer};
491489
expectWaitForFreeRxTx(Mode::receive, socketHandle, 100);
492490
mock("Device")
493491
.expectOneCall("receiveData")

0 commit comments

Comments
 (0)