mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
prevent warning from that picky MIPSpro compiler
This commit is contained in:
parent
4816294f52
commit
0c7cb0c10f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user