aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli-kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli-kernel.c')
-rw-r--r--com32/hdt/hdt-cli-kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli-kernel.c b/com32/hdt/hdt-cli-kernel.c
index 0160bed9..9b7ff49b 100644
--- a/com32/hdt/hdt-cli-kernel.c
+++ b/com32/hdt/hdt-cli-kernel.c
@@ -34,6 +34,9 @@
#include "hdt-cli.h"
#include "hdt-common.h"
+/* False positive warning in this file */
+#pragma GCC diagnostic ignored "-Wsizeof-pointer-memaccess"
+
void main_show_kernel(int argc __unused, char **argv __unused,
struct s_hardware *hardware)
{