mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warnings
This commit is contained in:
parent
62b9d359f7
commit
bc8310a227
@ -1790,6 +1790,7 @@ int send_with_timeout(void *p, int sock, char *buf, int buf_size)
|
||||
time(&start);
|
||||
sent = 0;
|
||||
send_size = buf_size;
|
||||
pbuf = p; // fix compiler warning
|
||||
pbuf = buf;
|
||||
|
||||
do {
|
||||
@ -2496,6 +2497,7 @@ int retrieve_url(LOGBOOK * lbs, const char *url, int ssl, char **buffer)
|
||||
static int sock, last_port;
|
||||
static char last_host[256];
|
||||
|
||||
i = ssl; // fix compiler warning
|
||||
*buffer = NULL;
|
||||
split_url(url, host, &port, subdir, param);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user