fix compiler warning
This commit is contained in:
parent
4b5a65455e
commit
038fe54e21
@ -59,7 +59,7 @@ static void decodeQuantum(unsigned char *dest, const char *src)
|
|||||||
char *found;
|
char *found;
|
||||||
|
|
||||||
for(i = 0; i < 4; i++) {
|
for(i = 0; i < 4; i++) {
|
||||||
if((found = strchr(table64, src[i])))
|
if((found = strchr(table64, src[i])) != 0)
|
||||||
x = (x << 6) + (unsigned int)(found - table64);
|
x = (x << 6) + (unsigned int)(found - table64);
|
||||||
else if(src[i] == '=')
|
else if(src[i] == '=')
|
||||||
x = (x << 6);
|
x = (x << 6);
|
||||||
|
@ -116,7 +116,7 @@ inet_pton4(const char *src, unsigned char *dst)
|
|||||||
|
|
||||||
if (val > 255)
|
if (val > 255)
|
||||||
return (0);
|
return (0);
|
||||||
*tp = val;
|
*tp = (unsigned char)val;
|
||||||
if (! saw_digit) {
|
if (! saw_digit) {
|
||||||
if (++octets > 4)
|
if (++octets > 4)
|
||||||
return (0);
|
return (0);
|
||||||
|
@ -796,7 +796,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
struct Curl_message *msg = NULL;
|
struct Curl_message *msg = NULL;
|
||||||
bool connected;
|
bool connected;
|
||||||
bool async;
|
bool async;
|
||||||
bool protocol_connect;
|
bool protocol_connect = FALSE;
|
||||||
bool dophase_done;
|
bool dophase_done;
|
||||||
bool done;
|
bool done;
|
||||||
CURLMcode result = CURLM_OK;
|
CURLMcode result = CURLM_OK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user