First round of Sergeev merges.
[super-star-trek.git] / reports.c
index 794b18117afe27d06951e3f3899aac37cd0fb2f7..07a5196946a84c34e24e77d9419631bb9a036d29 100644 (file)
--- a/reports.c
+++ b/reports.c
@@ -217,8 +217,8 @@ void chart(int nn) {
 void srscan(int l) {\r
        static char requests[][3] =\r
                {"","da","co","po","ls","wa","en","to","sh","kl","ti"};\r
-       char *cp;\r
-       int leftside=TRUE, rightside=TRUE, i, j, jj, k=0, nn=FALSE;\r
+       char *cp = NULL;\r
+       int leftside=TRUE, rightside=TRUE, i, j, k=0, nn=FALSE;\r
        int goodScan=TRUE;\r
        switch (l) {\r
                case 1: // SRSCAN\r
@@ -339,7 +339,7 @@ void srscan(int l) {
                        \r
                        \r
 void eta(void) {\r
-       int key, ix1, ix2, iy1, iy2, prompt=FALSE;\r
+       int ix1, ix2, iy1, iy2, prompt=FALSE;\r
        int wfl;\r
        double ttime, twarp, tpower;\r
        if (game.damage[DCOMPTR] != 0.0) {\r