../../../plugins/fd/fd_common.h:576:17: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
char curlevel;
bool keep;
bool ok=false;
- int count=0, len;
+ int count=0;
/* In Incremental, it means that the previous Full/Diff is well terminated */
if (level != 'I') {
keep = false;
datalen = 0;
- len = strlen(buf);
/* We don't capture the vol list, because our sscanf is limited to 1000 bytes */
if (scan_string(buf, "time=%60s level=%c key=%s name=%s root=%s prev=%s vollen=%d vol=",
t, &curlevel, curkey, curjobname, rootjob, prevjob, &datalen) != 7) {