@@ -188,11 +188,11 @@ TEST_F(DeserializationTest, OpMemberNameSuccess) {
188
188
std::swap (typeDecl, binary);
189
189
190
190
SmallVector<uint32_t , 5 > operands1 = {structType, 0 };
191
- ( void ) spirv::encodeStringLiteralInto (operands1, " i1" );
191
+ spirv::encodeStringLiteralInto (operands1, " i1" );
192
192
addInstruction (spirv::Opcode::OpMemberName, operands1);
193
193
194
194
SmallVector<uint32_t , 5 > operands2 = {structType, 1 };
195
- ( void ) spirv::encodeStringLiteralInto (operands2, " i2" );
195
+ spirv::encodeStringLiteralInto (operands2, " i2" );
196
196
addInstruction (spirv::Opcode::OpMemberName, operands2);
197
197
198
198
binary.append (typeDecl.begin (), typeDecl.end ());
@@ -227,7 +227,7 @@ TEST_F(DeserializationTest, OpMemberNameExcessOperands) {
227
227
std::swap (typeDecl, binary);
228
228
229
229
SmallVector<uint32_t , 5 > operands = {structType, 0 };
230
- ( void ) spirv::encodeStringLiteralInto (operands, " int32" );
230
+ spirv::encodeStringLiteralInto (operands, " int32" );
231
231
operands.push_back (42 );
232
232
addInstruction (spirv::Opcode::OpMemberName, operands);
233
233
0 commit comments