Skip to content
Snippets Groups Projects
Commit 0c7cb0c1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

prevent warning from that picky MIPSpro compiler

parent 4816294f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment