Unified · Split
| @@ -68,7 +68,7 @@ void PrintAll() · 67 unmodified lines | ||
| 68 | 68 | /* Returns the value moved (not used.) */ |
| 69 | 69 | int Move(int *source, int *dest) |
| 70 | 70 | { |
| 71 | − int i,j; | |
| 71 | + int i = 0, j = 0; | |
| 72 | 72 | |
| 73 | 73 | while (i<N && (source[i])==0) i++; |
| 74 | 74 | while (j<N && (dest[j])==0) j++; |
| @@ -88,7 +88,7 @@ TESTS = \ · 87 unmodified lines | ||
| 88 | 88 | # 34_array_assignment.test -- array assignment is not in C standard |
| 89 | 89 | # 46_grep.test -- does not compile even with gcc |
| 90 | 90 | |
| 91 | −SKIP = 30_hanoi.test 34_array_assignment.test 46_grep.test | |
| 91 | +SKIP = 34_array_assignment.test 46_grep.test | |
| 92 | 92 | |
| 93 | 93 | # some tests do not pass on all platforms, remove them for now |
| 94 | 94 | ifeq ($(TARGETOS),Darwin) |