1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

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

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