@@ -1016,7 +1016,6 @@ static void trace_onreq_out(struct cell *t, int type, struct tmcb_params *ps)
siptrace_data_t sto;
sip_msg_t *msg;
ip_addr_t to_ip;
- int len;
dest_info_t *dst;
if(t == NULL || ps == NULL) {
@@ -1334,7 +1333,6 @@ static void trace_sl_onreply_out(sl_cbp_t *slcbp)
char statusbuf[5];
if(slcbp == NULL || slcbp->req == NULL) {
@@ -68,8 +68,9 @@ int trace_send_duplicate(char *buf, int len, struct dest_info *dst2);
#define siptrace_copy_proto(vproto, vbuf) do { \
int __olen; \
siptrace_copy_proto_olen(vproto, vbuf, __olen); \
+ (void)__olen; \
} while(0)
char* siptrace_proto_name(int vproto);
-#endif
+#endif