Skip to content

Commit

Permalink
avoid warnings about uninitialized data
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jul 28, 2011
1 parent 94a267d commit 4407ad2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/cod4.c
Expand Up @@ -1493,6 +1493,7 @@ code *cdshass(elem *e,regm_t *pretregs)
loopcnt = 1;
conste2 = FALSE;
cr = CNIL;
shiftcnt = 0; // avoid "use before initialized" warnings
if (cnst(e2))
{
conste2 = TRUE; /* e2 is a constant */
Expand Down

0 comments on commit 4407ad2

Please sign in to comment.