rfc1524.c: In function 'rfc1524_expand_filename':
rfc1524.c:453:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
char *newfile,
size_t nflen)
{
- int i, j, k, ps, r;
+ int i, j, k, ps;
char *s;
short lmatch = 0, rmatch = 0;
char left[_POSIX_PATH_MAX];
rmatch = 1;
- for(r = 0, j = mutt_strlen(oldfile) - 1, k = mutt_strlen(nametemplate) - 1 ;
+ for(j = mutt_strlen(oldfile) - 1, k = mutt_strlen(nametemplate) - 1 ;
j >= (lmatch ? i : 0) && k >= i + 2;
j--, k--)
{