From 745485dde32d4ff9311e925f89e6166585d4cdb5 Mon Sep 17 00:00:00 2001 From: Johannes Schriewer Date: Mon, 30 Jul 2018 22:27:27 +0200 Subject: [PATCH] Cleanup --- tests/encode_packet.c | 5 ----- tests/test.h | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/encode_packet.c b/tests/encode_packet.c index 52970da..3fff34a 100644 --- a/tests/encode_packet.c +++ b/tests/encode_packet.c @@ -275,11 +275,6 @@ TestResult test_encode_publish_no_msg(void) { } TestResult test_encode_publish_dup_qos0(void) { - char data[] = { - 0x33, 0x0e, // header, qos1, retain - 0x00, 0x0a, 't', 'e', 's', 't', '/', 't', 'o', 'p', 'i', 'c', - 0x00, 0x0a // packet id - }; PublishPayload *payload = calloc(1, sizeof(PublishPayload)); payload->qos = MQTT_QOS_0; diff --git a/tests/test.h b/tests/test.h index 034fc20..e48a906 100644 --- a/tests/test.h +++ b/tests/test.h @@ -66,10 +66,11 @@ static inline TestResult TESTMEMCMP(Buffer *template, Buffer *check) { // not implemented placeholder +#if 0 static TestResult not_implemented(void) { TESTRESULT(TestStatusSkipped, "Not implemented"); } - +#endif void timetrial(DefinedTest *test);