mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warnings under Ubuntu
This commit is contained in:
parent
79778e1d52
commit
1f6bbdeeb7
@ -409,7 +409,7 @@ INT retrieve_elog(char *host, int port, char *subdir, int ssl, char *experiment,
|
|||||||
int i, n, first, index, sock;
|
int i, n, first, index, sock;
|
||||||
char str[256], encrypted_passwd[256], *ph, *ps;
|
char str[256], encrypted_passwd[256], *ph, *ps;
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
SSL *ssl_con;
|
SSL *ssl_con = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (ssl) /* avoid compiler warning */
|
if (ssl) /* avoid compiler warning */
|
||||||
@ -649,7 +649,7 @@ INT submit_elog(char *host, int port, int ssl, char *subdir, char *experiment,
|
|||||||
char old_attrib_name[MAX_N_ATTR+1][NAME_LENGTH], old_attrib[MAX_N_ATTR+1][NAME_LENGTH];
|
char old_attrib_name[MAX_N_ATTR+1][NAME_LENGTH], old_attrib[MAX_N_ATTR+1][NAME_LENGTH];
|
||||||
struct hostent *phe;
|
struct hostent *phe;
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
SSL *ssl_con;
|
SSL *ssl_con = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* get local host name */
|
/* get local host name */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user