X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=reports.c;h=07a5196946a84c34e24e77d9419631bb9a036d29;hb=93ede5b2bb8928b8aa17e750f48e6c5e59b81ab1;hp=794b18117afe27d06951e3f3899aac37cd0fb2f7;hpb=cf91699c89b88f76dcf63c60624635184e8cb7eb;p=super-star-trek.git diff --git a/reports.c b/reports.c index 794b181..07a5196 100644 --- a/reports.c +++ b/reports.c @@ -217,8 +217,8 @@ void chart(int nn) { void srscan(int l) { static char requests[][3] = {"","da","co","po","ls","wa","en","to","sh","kl","ti"}; - char *cp; - int leftside=TRUE, rightside=TRUE, i, j, jj, k=0, nn=FALSE; + char *cp = NULL; + int leftside=TRUE, rightside=TRUE, i, j, k=0, nn=FALSE; int goodScan=TRUE; switch (l) { case 1: // SRSCAN @@ -339,7 +339,7 @@ void srscan(int l) { void eta(void) { - int key, ix1, ix2, iy1, iy2, prompt=FALSE; + int ix1, ix2, iy1, iy2, prompt=FALSE; int wfl; double ttime, twarp, tpower; if (game.damage[DCOMPTR] != 0.0) {