mirror of
https://github.com/samba-team/samba.git
synced 2025-03-19 18:50:24 +03:00
replace: fix unused variable warning
found by the IRIX compiler
This commit is contained in:
parent
dba3b2e0b6
commit
e2747fc62c
@ -251,7 +251,6 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
|
||||
enum locale_status *decided;
|
||||
int era_cnt;
|
||||
{
|
||||
const char *rp_backup;
|
||||
int cnt;
|
||||
size_t val;
|
||||
int have_I, is_pm;
|
||||
@ -261,15 +260,17 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
|
||||
int have_yday;
|
||||
int have_mon, have_mday;
|
||||
#ifdef _NL_CURRENT
|
||||
const char *rp_backup;
|
||||
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;
|
||||
|
||||
@ -297,10 +298,10 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
|
||||
#ifndef _NL_CURRENT
|
||||
/* We need this for handling the `E' modifier. */
|
||||
start_over:
|
||||
#endif
|
||||
|
||||
/* Make back up of current processing pointer. */
|
||||
rp_backup = rp;
|
||||
#endif
|
||||
|
||||
switch (*fmt++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user