1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -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]; static char version[200];
char *ptr; char *ptr;
long num;
strcpy(version, LIBCURL_NAME "/" LIBCURL_VERSION ); strcpy(version, LIBCURL_NAME "/" LIBCURL_VERSION );
ptr=strchr(version, '\0'); ptr=strchr(version, '\0');
#ifdef USE_SSLEAY #ifdef USE_SSLEAY
{
long num;
getssl_version(ptr, &num); getssl_version(ptr, &num);
ptr=strchr(version, '\0'); ptr=strchr(version, '\0');
#else }
(void)num; /* no compiler warning please */
#endif #endif
#ifdef HAVE_KRB4 #ifdef HAVE_KRB4