From ede51600c766c9726128edc444158e67aabcdc51 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Mon, 4 Apr 2011 15:31:33 +0000 Subject: Don't assign to a variable if the value won't be used: Coverity 817-821. svn path=/trunk/; revision=36446 --- dftest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dftest.c') diff --git a/dftest.c b/dftest.c index 5d82b6374b..c7ad6f363c 100644 --- a/dftest.c +++ b/dftest.c @@ -62,7 +62,6 @@ main(int argc, char **argv) char *gpf_path, *pf_path; int gpf_open_errno, gpf_read_errno; int pf_open_errno, pf_read_errno; - e_prefs *prefs_p; dfilter_t *df; /* @@ -98,7 +97,7 @@ main(int argc, char **argv) /* set the c-language locale to the native environment. */ setlocale(LC_ALL, ""); - prefs_p = read_prefs(&gpf_open_errno, &gpf_read_errno, &gpf_path, + read_prefs(&gpf_open_errno, &gpf_read_errno, &gpf_path, &pf_open_errno, &pf_read_errno, &pf_path); if (gpf_path != NULL) { if (gpf_open_errno != 0) { -- cgit v1.2.3