summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwin Jansen <jansene@google.com>2017-05-10 21:50:42 -0700
committerGreg Hartman <ghartman@google.com>2018-08-23 17:30:51 -0700
commit64f12142f8409da9ecc0d52828e5a9fec8fcb5bc (patch)
tree9204a2e5206bc88dedbef844465ee2962f8fae90
parent88a596779a40644e59ebe46d24cb665f9402e603 (diff)
downloaddevice_generic_opengl-transport-64f12142f8409da9ecc0d52828e5a9fec8fcb5bc.tar.gz
device_generic_opengl-transport-64f12142f8409da9ecc0d52828e5a9fec8fcb5bc.tar.bz2
device_generic_opengl-transport-64f12142f8409da9ecc0d52828e5a9fec8fcb5bc.zip
Fix a series of compiler warnings
- Fix a set of warnings from the mac build - Deleted unused variables - Marked methods as override Change-Id: I614f0a444b83de6ec978afc017cfb53d9ceafd62
-rw-r--r--host/commands/emugen/EntryPoint.h1
-rw-r--r--host/commands/emugen/Var.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/host/commands/emugen/EntryPoint.h b/host/commands/emugen/EntryPoint.h
index 1061d255b..a50fda041 100644
--- a/host/commands/emugen/EntryPoint.h
+++ b/host/commands/emugen/EntryPoint.h
@@ -52,7 +52,6 @@ public:
int setAttribute(const std::string &line, size_t lc);
private:
- enum { PR_RETVAL = 0, PR_NAME, PR_VARS, PR_DONE } prState;
std::string m_name;
Var m_retval;
VarsArray m_vars;
diff --git a/host/commands/emugen/Var.h b/host/commands/emugen/Var.h
index d20afb167..3b50bccf6 100644
--- a/host/commands/emugen/Var.h
+++ b/host/commands/emugen/Var.h
@@ -89,7 +89,6 @@ public:
private:
std::string m_name;
const VarType * m_type = nullptr;
- bool m_pointer = false; // is this variable a pointer;
std::string m_lenExpression; // an expression to calcualte a pointer data size
PointerDir m_pointerDir = POINTER_IN;
bool m_nullAllowed = false;