case 2: /* overlap -- full size and offset match (reuse) */
{
- uint32_t lc_encrypt_type;
+ uint32_t lc_encrypt_type = 0;
DBG(LOOP, ul_debugobj(cxt, "re-using existing loop device %s",
loopcxt_get_device(&lc)));
*/
static int mnt_wait_mtab_lock(struct libmnt_lock *ml, struct flock *fl, time_t maxtime)
{
- struct timeval now;
+ struct timeval now = { 0 };
struct sigaction sa, osa;
int ret = 0;
static int lock_mtab(struct libmnt_lock *ml)
{
int i, rc = -1;
- struct timespec waittime;
- struct timeval maxtime;
+ struct timespec waittime = { 0 };;
+ struct timeval maxtime = { 0 };
const char *lockfile, *linkfile;
if (!ml)
/* Repeat until it was us who made the link */
while (!ml->locked) {
- struct timeval now;
+ struct timeval now = { 0 };
struct flock flock;
int j;