Skip to content

Commit

Permalink
Silence potentially uninitialized local pointer variable in read.c
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Nov 15, 2023
1 parent 734e3b3 commit b70fe30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@ doread()
? card_msgs[SIZE(card_msgs) - 1]
: card_msgs[scroll->o_id % (SIZE(card_msgs) - 1)];
pline("\"%s\"", mesg);
}
maybe_learn_elbereth(mesg);
maybe_learn_elbereth(mesg);
}
}
/* Make a credit card number */
pline("\"%d0%d %ld%d1 0%d%d0\"%s",
Expand Down

0 comments on commit b70fe30

Please sign in to comment.