@@ -188,11 +188,11 @@ TEST_F(DeserializationTest, OpMemberNameSuccess) {
188188 std::swap (typeDecl, binary);
189189
190190 SmallVector<uint32_t , 5 > operands1 = {structType, 0 };
191- ( void ) spirv::encodeStringLiteralInto (operands1, " i1" );
191+ spirv::encodeStringLiteralInto (operands1, " i1" );
192192 addInstruction (spirv::Opcode::OpMemberName, operands1);
193193
194194 SmallVector<uint32_t , 5 > operands2 = {structType, 1 };
195- ( void ) spirv::encodeStringLiteralInto (operands2, " i2" );
195+ spirv::encodeStringLiteralInto (operands2, " i2" );
196196 addInstruction (spirv::Opcode::OpMemberName, operands2);
197197
198198 binary.append (typeDecl.begin (), typeDecl.end ());
@@ -227,7 +227,7 @@ TEST_F(DeserializationTest, OpMemberNameExcessOperands) {
227227 std::swap (typeDecl, binary);
228228
229229 SmallVector<uint32_t , 5 > operands = {structType, 0 };
230- ( void ) spirv::encodeStringLiteralInto (operands, " int32" );
230+ spirv::encodeStringLiteralInto (operands, " int32" );
231231 operands.push_back (42 );
232232 addInstruction (spirv::Opcode::OpMemberName, operands);
233233
0 commit comments