From 961c946a6d8f3ca259c08410c7f4dd718ec0dbd1 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 21 Sep 2001 12:31:57 +0000 Subject: [PATCH] Unused variables. --- lib/dev-mgr/dev-manager.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/dev-mgr/dev-manager.c b/lib/dev-mgr/dev-manager.c index e8def9d2a..04942e89f 100644 --- a/lib/dev-mgr/dev-manager.c +++ b/lib/dev-mgr/dev-manager.c @@ -435,7 +435,6 @@ static int _check_dev(struct dev_mgr *dm, struct stat *stat_b) { int ret = 1; int seek_major = MAJOR(stat_b->st_rdev); - struct dev_n *node; if (stat_b == NULL) ret = -LOCAL_EPARAM; @@ -459,7 +458,6 @@ static int _scan_proc_dev(struct dev_mgr *dm) int i, j = 0; int line_maj = 0; int blocksection = 0; - struct dev_n * dev_node= NULL; int dev_len = 0; if ((procdevices = fopen("/proc/devices", "r")) != NULL) {