aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-04-04 15:31:33 +0000
committerBill Meier <wmeier@newsguy.com>2011-04-04 15:31:33 +0000
commitede51600c766c9726128edc444158e67aabcdc51 (patch)
treec15a7dda0128a14ba8c9e2ef48ada354e079702a /dftest.c
parenta7d7365f4ae3709d61b718a9819b92c90eb4807c (diff)
Don't assign to a variable if the value won't be used: Coverity 817-821.
svn path=/trunk/; revision=36446
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c3
1 files changed, 1 insertions, 2 deletions
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) {