summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-21 15:57:03 -0400
committerPeter Jones <pjones@redhat.com>2021-03-22 16:43:44 -0400
commit33db42def2ce6fe040b5f77642347e8b3c6420e5 (patch)
tree1cb9857acb523d9d5e2be6222328a38a5d4b1e74 /test.c
parentd4494b5cff75b64a70cb27b2d8544b4debb7fa6b (diff)
downloadefi-boot-shim-33db42def2ce6fe040b5f77642347e8b3c6420e5.tar.gz
efi-boot-shim-33db42def2ce6fe040b5f77642347e8b3c6420e5.zip
Make 'make test' work on gcc 4.8.5
Diffstat (limited to 'test.c')
-rw-r--r--test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.c b/test.c
index aa0da1fd..dc71941f 100644
--- a/test.c
+++ b/test.c
@@ -12,6 +12,9 @@
UINT8 in_protocol = 0;
int debug = DEFAULT_DEBUG_PRINT_STATE;
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic ignored "-Wunused-function"
+
EFI_STATUS EFIAPI
LogError_(const char *file, int line, const char *func, const CHAR16 *fmt, ...)
{