Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 800f951

Browse files
committed
Added pragma to ignore unused parameter
1 parent 2a6d73e commit 800f951

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libunwind/src/UnwindRustSgx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <stddef.h>
1818
#include "UnwindRustSgx.h"
1919

20+
#pragma GCC diagnostic ignored "-Wunused-parameter"
2021

2122
#define max_log 256
2223

libunwind/src/libunwind.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
1515
#endif
1616

17+
#pragma GCC diagnostic ignored "-Wunused-parameter"
1718
#pragma GCC diagnostic ignored "-Wmissing-braces"
1819
#pragma GCC diagnostic ignored "-Wsign-conversion"
1920
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

0 commit comments

Comments
 (0)