diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-01 15:33:54 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-01 15:33:54 (GMT) |
commit | 93f7601d0f8edaadbfe72eca546c30a42a53a25c (patch) | |
tree | 52fd088f278fcf8f5b98f6817eb8ef81b0915eef /Source/CTest/Curl/getdate.c | |
parent | 8174deb9e998199fc4aa828664d57dedc3f8a683 (diff) | |
download | CMake-93f7601d0f8edaadbfe72eca546c30a42a53a25c.zip CMake-93f7601d0f8edaadbfe72eca546c30a42a53a25c.tar.gz CMake-93f7601d0f8edaadbfe72eca546c30a42a53a25c.tar.bz2 |
ERR: Remove warnings
Diffstat (limited to 'Source/CTest/Curl/getdate.c')
-rw-r--r-- | Source/CTest/Curl/getdate.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/CTest/Curl/getdate.c b/Source/CTest/Curl/getdate.c index dab41be..fe00823 100644 --- a/Source/CTest/Curl/getdate.c +++ b/Source/CTest/Curl/getdate.c @@ -691,6 +691,9 @@ yyparse(YYPARSE_PARAM_ARG) fprintf(stderr, "Starting parse\n"); #endif + yylval.Number = 0; + yyval.Number = 0; + yystate = 0; yyerrstatus = 0; yynerrs = 0; @@ -712,7 +715,7 @@ yyparse(YYPARSE_PARAM_ARG) have just been pushed. so pushing a state here evens the stacks. */ yynewstate: - *++yyssp = yystate; + *++yyssp = (short)yystate; if (yyssp >= yyss + yystacksize - 1) { @@ -1729,6 +1732,7 @@ static int yyerror (s) char *s ATTRIBUTE_UNUSED; { + (void)s; return 0; } @@ -1792,7 +1796,7 @@ LookupWord (yylval, buff) /* Make it lowercase. */ for (p = buff; *p; p++) if (ISUPPER ((unsigned char) *p)) - *p = tolower (*p); + *p = (char)tolower (*p); if (strcmp (buff, "am") == 0 || strcmp (buff, "a.m.") == 0) { |