Skip to content

Commit c0ac252

Browse files
committed
Ignore unused funtion warning
Otherwise in combination with -Werror=all used in newer ESP32 cores will trigger a compilation er ror.
1 parent 5b03e50 commit c0ac252

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/cbor/lib/tinycbor/src/open_memstream.c

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ typedef size_t LenType;
4646
#pragma GCC diagnostic push
4747
#pragma GCC diagnostic ignored "-Wpedantic"
4848
#pragma GCC diagnostic ignored "-Wreturn-type"
49+
#pragma GCC diagnostic ignored "-Wunused-function"
4950

5051
struct Buffer
5152
{

0 commit comments

Comments
 (0)