Skip to content

Commit

Permalink
Fixing uninitialized use warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ckirsch committed Aug 30, 2024
1 parent 6b438f7 commit 966dd9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/rotor.c
Original file line number Diff line number Diff line change
Expand Up @@ -4032,6 +4032,7 @@ uint64_t print_input(uint64_t nid, uint64_t* line) {
uint64_t* value_nid;
op = get_op(line);
type = PREFIX_INPUT;
value_nid = (uint64_t*) 0; // avoids uninitialized use warning
if (printing_unrolled_model) {
if (op == OP_STATE) {
if (get_symbolic(line) == SYMBOLIC)
Expand Down

0 comments on commit 966dd9e

Please sign in to comment.