diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-04-04 15:31:33 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-04-04 15:31:33 +0000 |
commit | ede51600c766c9726128edc444158e67aabcdc51 (patch) | |
tree | c15a7dda0128a14ba8c9e2ef48ada354e079702a /dftest.c | |
parent | a7d7365f4ae3709d61b718a9819b92c90eb4807c (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |