Fix some warnings
1. Enabled Meson options to treat warnings as errors.
2. Removed unused variable in vpd_tool_impl.cpp.
3. Fix for unused variable warning in vpdecc & vpd manager files.
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: I59fab47fe394b2934d6050d9db78c68b7e471503
diff --git a/vpdecc/vpdecc.h b/vpdecc/vpdecc.h
index 6e7605f..6d4175d 100644
--- a/vpdecc/vpdecc.h
+++ b/vpdecc/vpdecc.h
@@ -17,6 +17,9 @@
#ifndef _VPDECC_H_
#define _VPDECC_H_
+#pragma GCC diagnostic ignored "-Wunused-variable"
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+
#include <stdlib.h>
#define VPD_ECC_OK 0