daemon: Remove unused variables.

(cherry picked from commit 13c2db39ab)
This commit is contained in:
Richard W.M. Jones
2012-03-12 11:46:49 +00:00
parent 53efcc7cc5
commit 22fb5ca183
2 changed files with 0 additions and 8 deletions

View File

@@ -44,7 +44,6 @@ do_list_9p (void)
int size = 0, alloc = 0;
DIR *dir;
int err = 0;
dir = opendir (BUS_PATH);
if (!dir) {

View File

@@ -94,7 +94,6 @@ static int
test_blkid_p_i_opt (void)
{
int r;
int result;
char *err;
r = commandr (NULL, &err, "blkid", "-p", "/dev/null", NULL);
@@ -241,12 +240,6 @@ char **
do_blkid (const char *device)
{
static int blkid_has_p_i_opt = -1;
int r;
char *out = NULL, *err = NULL;
char **lines = NULL;
char **ret = NULL;
int size = 0, alloc = 0;
if (blkid_has_p_i_opt == -1) {
blkid_has_p_i_opt = test_blkid_p_i_opt ();