Fix unused variable on Windows for softp11.c

This commit is contained in:
Asanka Herath
2010-06-02 21:16:35 -04:00
parent ab56333fd7
commit dba793110b

View File

@@ -810,9 +810,11 @@ func_not_supported(void)
static char * static char *
get_config_file_for_user(void) get_config_file_for_user(void)
{ {
char *fn = NULL, *home = NULL; char *fn = NULL;
#ifndef _WIN32 #ifndef _WIN32
char *home = NULL;
if (!issuid()) { if (!issuid()) {
fn = getenv("SOFTPKCS11RC"); fn = getenv("SOFTPKCS11RC");
if (fn) if (fn)