summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-25 23:07:24 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-26 00:19:10 +0100
commitb6839e1bfd10d28046f75f9f9c25f8af2665eda3 (patch)
tree3d64c2b2b0d82d71058d8085e1ca2113b21e18b1 /lib
parent9536d94d5478b63fc05047964b40d8786a7246c4 (diff)
downloadsamba-b6839e1bfd10d28046f75f9f9c25f8af2665eda3.tar.gz
samba-b6839e1bfd10d28046f75f9f9c25f8af2665eda3.tar.bz2
samba-b6839e1bfd10d28046f75f9f9c25f8af2665eda3.zip
libreplace: fix unused varibale warning on IRIX
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 0e40f7561a..568823f2f8 100644
--- a/lib/replace/strptime.c
+++ b/lib/replace/strptime.c
@@ -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,6 +260,7 @@ 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++)
{