Remove unused labels, variables, and functions. Enable warnings.
Change-Id: Icbe24eaf1ad499f28b68b6a5f05368271a0a7e86
diff --git a/vm/Debugger.c b/vm/Debugger.c
index 2f57046..5bf3ec0 100644
--- a/vm/Debugger.c
+++ b/vm/Debugger.c
@@ -293,10 +293,12 @@
{
return (RefTypeId) registerObject((Object*) clazz, kRefTypeId, true);
}
+#if 0
static RefTypeId classObjectToRefTypeIdNoReg(ClassObject* clazz)
{
return (RefTypeId) registerObject((Object*) clazz, kRefTypeId, false);
}
+#endif
static ClassObject* refTypeIdToClassObject(RefTypeId id)
{
assert(objectIsRegistered(id, kRefTypeId) || !gDvm.debuggerConnected);
@@ -1340,7 +1342,6 @@
{
Method* method;
u8 start, end;
- int i;
DebugCallbackContext context;
memset (&context, 0, sizeof(DebugCallbackContext));