mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-21 16:38:06 -06:00
Windows build failure, variable set but not used
With the introduction of using -Werror=unused-but-set-variable, a variable in strptime.c was defined but no used. Moved to be included in #ifdef _NL_CURRENT as that is where it is used.
This commit is contained in:
parent
d4820a25a4
commit
d6514a47f2
@ -436,14 +436,13 @@ int era_cnt;
|
||||
int have_mon, have_mday;
|
||||
#ifdef _NL_CURRENT
|
||||
size_t num_eras;
|
||||
#endif
|
||||
struct era_entry *era;
|
||||
|
||||
era = NULL;
|
||||
#endif
|
||||
have_I = is_pm = 0;
|
||||
century = -1;
|
||||
want_century = 0;
|
||||
want_era = 0;
|
||||
era = NULL;
|
||||
|
||||
have_wday = want_xday = have_yday = have_mon = have_mday = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user