The Samba-Bugzilla – Bug 5122
lib/replace/strptime.c: "rp_backup" and "era" set but never used
Last modified: 2007-12-06 04:04:58 UTC
cc-1552 c99: WARNING File = lib/replace/strptime.c, Line = 255
The variable "rp_backup" is set but never used.
const char *rp_backup;
cc-1552 c99: WARNING File = lib/replace/strptime.c, Line = 267
The variable "era" is set but never used.
struct era_entry *era;
*** Bug 4585 has been marked as a duplicate of this bug. ***
Well, I'm a bit reluctant to put a fix for this particular one in. Both variables _are_ referenced if _NL_CURRENT (whatever that is) is defined. You might want to provide a patch that wraps the variable definitions and assignments into #ifdefs as well.
But thanks for this report, keep them coming!