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];
|
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
|
||||||
getssl_version(ptr, &num);
|
{
|
||||||
ptr=strchr(version, '\0');
|
long num;
|
||||||
#else
|
getssl_version(ptr, &num);
|
||||||
(void)num; /* no compiler warning please */
|
ptr=strchr(version, '\0');
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_KRB4
|
#ifdef HAVE_KRB4
|
||||||
|
Loading…
Reference in New Issue
Block a user