Various minor fixes for compiler/linter (other then splint itself) warnings.
[splint-patched.git] / test / arraydims.c
blob596c882db8295eb41eaeae31dc288439367b2d12
1 static int daytab[2][13] = {
2 {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
3 {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 52 } /* error */
4 };
6 static int daytab2[3][2][13] = {
7 { {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
8 {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 52 } }, /* error */
9 { {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
10 {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } } ,
11 { {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
12 {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } }