diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2008-03-01 16:18:18 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2008-03-01 19:49:24 +0200 |
commit | 3d642905477f4b1ec3223f1fbe0d0d37e959ec81 (patch) | |
tree | d158aa13c19be80495f92cf9979c3703e71ade2a /hw/xfree86/parser | |
parent | e7a6f79754816976d92857d55840262cccff80a6 (diff) |
clean some "unused" warnings
Diffstat (limited to 'hw/xfree86/parser')
-rw-r--r-- | hw/xfree86/parser/Screen.c | 1 | ||||
-rw-r--r-- | hw/xfree86/parser/scan.c | 2 |
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] = ""; |