summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bennett <sb476@cam.ac.uk>2007-11-15 18:59:35 +0000
committerStuart Bennett <sb476@cam.ac.uk>2007-11-16 00:15:18 +0000
commit2cc2b13e59fe807505387a21d29ceab42ff48ae7 (patch)
treec858d290788773cc28b031383bf24bfc87c45d04
parent38137e7fb2e933ebe8cf3787bde8074219fef99c (diff)
Silence compile warnings
-rw-r--r--inttool.c1
-rw-r--r--thunk.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/inttool.c b/inttool.c
index 891f820..11a5e5b 100644
--- a/inttool.c
+++ b/inttool.c
@@ -60,7 +60,6 @@ int main(int argc, char *argv[])
struct pci_dev *p;
unsigned int c;
unsigned int pci_id;
- int error;
if (!LRMI_init()) {
fprintf(stderr, "Failed to initialise LRMI (Linux Real-Mode Interface).\n");
diff --git a/thunk.c b/thunk.c
index 1560dc3..6de8835 100644
--- a/thunk.c
+++ b/thunk.c
@@ -25,7 +25,6 @@
#include "lrmi.h"
#include "x86-common.h"
-#define DEBUG
#define ALLOC_ENTRIES(x) (V_RAM - 1)
#define TRUE 1
#define FALSE 0