fix compiler warnings

Fix a couple pedantic, format=, and unused-parameter warnings so we can
turn the warnings all the way up.

Change-Id: I7c6309e30147f54fc64ace99dc784fbd96c77c70
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/phalerror/phal_error.cpp b/phalerror/phal_error.cpp
index 8957487..2cd8d5b 100644
--- a/phalerror/phal_error.cpp
+++ b/phalerror/phal_error.cpp
@@ -196,7 +196,7 @@
 // list of debug traces
 static std::vector<std::pair<std::string, std::string>> traceLog;
 
-void processLogTraceCallback(void* private_data, const char* fmt, va_list ap)
+void processLogTraceCallback(void*, const char* fmt, va_list ap)
 {
     va_list vap;
     va_copy(vap, ap);
@@ -482,7 +482,7 @@
     counter = 0;
 }
 
-void pDBGLogTraceCallbackHelper(int log_level, const char* fmt, va_list ap)
+void pDBGLogTraceCallbackHelper(int, const char* fmt, va_list ap)
 {
     processLogTraceCallback(NULL, fmt, ap);
 }