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);