summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-03-01 16:18:18 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-03-01 19:49:24 +0200
commit3d642905477f4b1ec3223f1fbe0d0d37e959ec81 (patch)
treed158aa13c19be80495f92cf9979c3703e71ade2a /hw/xfree86/parser
parente7a6f79754816976d92857d55840262cccff80a6 (diff)
clean some "unused" warnings
Diffstat (limited to 'hw/xfree86/parser')
-rw-r--r--hw/xfree86/parser/Screen.c1
-rw-r--r--hw/xfree86/parser/scan.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/hw/xfree86/parser/Screen.c b/hw/xfree86/parser/Screen.c
index ad08c1382..dfc02bb72 100644
--- a/hw/xfree86/parser/Screen.c
+++ b/hw/xfree86/parser/Screen.c
@@ -508,7 +508,6 @@ xf86validateScreen (XF86ConfigPtr p)
{
XF86ConfScreenPtr screen = p->conf_screen_lst;
XF86ConfMonitorPtr monitor;
- XF86ConfDevicePtr device;
XF86ConfAdaptorLinkPtr adaptor;
while (screen)
diff --git a/hw/xfree86/parser/scan.c b/hw/xfree86/parser/scan.c
index 9706d483b..1f9b1b8de 100644
--- a/hw/xfree86/parser/scan.c
+++ b/hw/xfree86/parser/scan.c
@@ -612,7 +612,7 @@ DoSubstitution(const char *template, const char *cmdline, const char *projroot,
{
char *result;
int i, l;
- static const char *env = NULL, *home = NULL;
+ static const char *env = NULL;
static char *hostname = NULL;
static char majorvers[3] = "";