Skip to content

Commit 096bb07

Browse files
authored
Initialize variables (KhronosGroup#6093)
1 parent 2550869 commit 096bb07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/table.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ spv_context spvContextCreate(spv_target_env env) {
4949
return nullptr;
5050
}
5151

52-
spv_opcode_table opcode_table;
53-
spv_operand_table operand_table;
54-
spv_ext_inst_table ext_inst_table;
52+
spv_opcode_table opcode_table = nullptr;
53+
spv_operand_table operand_table = nullptr;
54+
spv_ext_inst_table ext_inst_table = nullptr;
5555

5656
spvOpcodeTableGet(&opcode_table, env);
5757
spvOperandTableGet(&operand_table, env);

0 commit comments

Comments
 (0)