mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed set but unused variable bugs
This commit is contained in:
parent
14442d2be0
commit
816bee1fa0
23 changed files with 84 additions and 80 deletions
|
@ -82,7 +82,6 @@ keydb_add_resource (const char *url, int force, int secret, int *auto_created)
|
|||
int rc = 0;
|
||||
FILE *fp;
|
||||
KeydbResourceType rt = KEYDB_RESOURCE_TYPE_NONE;
|
||||
const char *created_fname = NULL;
|
||||
|
||||
if (auto_created)
|
||||
*auto_created = 0;
|
||||
|
@ -194,7 +193,6 @@ keydb_add_resource (const char *url, int force, int secret, int *auto_created)
|
|||
|
||||
if (!opt.quiet)
|
||||
log_info (_("keybox `%s' created\n"), filename);
|
||||
created_fname = filename;
|
||||
if (auto_created)
|
||||
*auto_created = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue