Bug 5152 - lib/replace/strptime.c: never used variables "rp_backup" and "era"
Summary: lib/replace/strptime.c: never used variables "rp_backup" and "era"
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.28
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 14:29 UTC by Jason Mader (mail bounces back)
Modified: 2020-01-19 22:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2007-12-18 14:29:36 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;
                      ^
Comment 1 Douglas Bagnall 2020-01-19 22:55:38 UTC
Probably all uses of rp_backup and era were wrapped in 

#ifdef _NL_CURRENT 

but the declaration wasn't. This was fixed in 6edb239f8ed724aba