summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-26 01:16:37 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-26 01:16:37 +0100
commite87adf523bcf7521e643bc99003d5d35242b7abf (patch)
tree33071eadabd97e19729ae608a473672af946d329 /lib
parent5439e1a03f66ff9722987f908babfd71ebd698f1 (diff)
downloadsamba-e87adf523bcf7521e643bc99003d5d35242b7abf.tar.gz
samba-e87adf523bcf7521e643bc99003d5d35242b7abf.tar.bz2
samba-e87adf523bcf7521e643bc99003d5d35242b7abf.zip
Revert "libreplace: fix unused varibale warning on IRIX"
this one was broken
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/strptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/strptime.c b/lib/replace/strptime.c
index 568823f2f8..0e40f7561a 100644
--- a/lib/replace/strptime.c
+++ b/lib/replace/strptime.c
@@ -251,6 +251,7 @@ 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;
@@ -260,7 +261,6 @@ 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;
@@ -297,10 +297,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++)
{