Commit 8e8a6a0b authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Fix a few compilation warning, some are still remaining

parent 802dd772
......@@ -250,7 +250,7 @@ static void * connect_thr(void * arg)
break;
#ifndef DISABLE_SCTP
case IPPROTO_SCTP:
cnx = fd_cnx_cli_connect_sctp((peer->p_hdr.info.config.pic_flags.pro3 == PI_P3_IP) ?: fd_g_config->cnf_flags.no_ip6,
cnx = fd_cnx_cli_connect_sctp((peer->p_hdr.info.config.pic_flags.pro3 == PI_P3_IP) ? 1 : fd_g_config->cnf_flags.no_ip6,
nc->port, &peer->p_hdr.info.pi_endpoints);
break;
#endif /* DISABLE_SCTP */
......
......@@ -712,7 +712,6 @@ public:
static void obj_dump_avp ( struct avp * avp, int indent, FILE * fstr )
{
int ret = 0;
enum dict_avp_basetype type = -1;
if (!CHECK_AVP(avp)) {
fd_log_debug_fstr(fstr, INOBJHDR "INVALID!\n", INOBJHDRVAL);
......@@ -743,7 +742,6 @@ static void obj_dump_avp ( struct avp * avp, int indent, FILE * fstr )
type_base_name[dictdata.avp_basetype],
dictdata.avp_code,
dictdata.avp_name );
type = dictdata.avp_basetype;
}
public:
fd_log_debug_fstr(fstr, INOBJHDR "public: C:%u fl:" DUMP_AVPFL_str " L:%d V:%u data:@%p\n", INOBJHDRVAL,
......
......@@ -149,6 +149,7 @@ void fd_msg_log( enum fd_msg_log_cause cause, struct msg * msg, const char * pre
case FD_MSG_LOGTO_FILE:
TODO("Log to arg file");
TODO("Log a note to debug stream");
TRACE_DEBUG(INFO, "%s", metharg);
break;
case FD_MSG_LOGTO_DIR:
TODO("Log to arg directory in a new file");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment