diff --git a/src/core/ddsc/src/dds_topic.c b/src/core/ddsc/src/dds_topic.c index 9c2329e..151d035 100644 --- a/src/core/ddsc/src/dds_topic.c +++ b/src/core/ddsc/src/dds_topic.c @@ -98,7 +98,6 @@ dds_topic_status_cb( { dds_topic *topic; dds__retcode_t rc; - void *metrics = NULL; DDS_REPORT_STACK(); diff --git a/src/core/ddsi/src/q_config.c b/src/core/ddsi/src/q_config.c index 58a7e2e..a4ff863 100644 --- a/src/core/ddsi/src/q_config.c +++ b/src/core/ddsi/src/q_config.c @@ -121,7 +121,10 @@ DUPF(networkAddresses); DU(ipv4); DUPF(allow_multicast); DUPF(boolean); -DUPF(boolean_default); +DU(boolean_default); +#if 0 +PF(boolean_default); +#endif DUPF(negated_boolean); DUPF(string); DU(tracingOutputFileName); @@ -1312,6 +1315,7 @@ static int uf_boolean_default (struct cfgst *cfgst, void *parent, struct cfgelem return 1; } +#if 0 static void pf_boolean_default (struct cfgst *cfgst, void *parent, struct cfgelem const * const cfgelem, int is_default) { enum besmode *p = cfg_address (cfgst, parent, cfgelem); @@ -1324,6 +1328,7 @@ static void pf_boolean_default (struct cfgst *cfgst, void *parent, struct cfgele } cfg_log (cfgst, "%s%s", str, is_default ? " [def]" : ""); } +#endif static int uf_logcat(struct cfgst *cfgst, UNUSED_ARG(void *parent), UNUSED_ARG(struct cfgelem const * const cfgelem), UNUSED_ARG(int first), const char *value) { diff --git a/src/examples/throughput/publisher.c b/src/examples/throughput/publisher.c index 973adce..c18a1ae 100644 --- a/src/examples/throughput/publisher.c +++ b/src/examples/throughput/publisher.c @@ -47,7 +47,6 @@ static void CtrlHandler (int fdwCtrlType) int main (int argc, char **argv) { - int result = EXIT_SUCCESS; uint32_t payloadSize = 8192; unsigned int burstInterval = 0; unsigned int burstSize = 1; @@ -101,7 +100,7 @@ int main (int argc, char **argv) /* Cleanup */ finalize_dds(participant, writer, sample); - + return EXIT_SUCCESS; } static int parse_args(