prevent warning from that picky MIPSpro compiler

This commit is contained in:
Daniel Stenberg 2004-02-05 09:37:46 +00:00
parent 4816294f52
commit 0c7cb0c10f
1 changed files with 5 additions and 5 deletions

View File

@ -95,15 +95,15 @@ char *curl_version(void)
{
static char version[200];
char *ptr;
long num;
strcpy(version, LIBCURL_NAME "/" LIBCURL_VERSION );
ptr=strchr(version, '\0');
#ifdef USE_SSLEAY
getssl_version(ptr, &num);
ptr=strchr(version, '\0');
#else
(void)num; /* no compiler warning please */
{
long num;
getssl_version(ptr, &num);
ptr=strchr(version, '\0');
}
#endif
#ifdef HAVE_KRB4