Makes static analysers happier, since moving the data
when days is 0 or days is 8 is effectively non-op.
/* @UNSAFE: move days forward and fill the missing days with old
day_first_uid[0]. */
- memmove(hdr.day_first_uid + days, hdr.day_first_uid,
- (max_days - days) * sizeof(hdr.day_first_uid[0]));
+ if (days > 1 && days < max_days)
+ memmove(hdr.day_first_uid + days, hdr.day_first_uid,
+ (max_days - days) * sizeof(hdr.day_first_uid[0]));
for (i = 1; i < days; i++)
hdr.day_first_uid[i] = hdr.day_first_uid[0];