Fix uninitialized variable in nfstime
https://github.com/vitalif/vitastor/pull/95 By submitting this pull request, I accept Vitastor CLA
This commit is contained in:
committed by
Vitaliy Filippov
parent
8a250f4fca
commit
1ad6933953
@@ -25,7 +25,10 @@ nfstime3 nfstime_from_str(const std::string & s)
|
||||
t.nseconds /= 10;
|
||||
}
|
||||
else
|
||||
{
|
||||
t.seconds = stoull_full(s, 10);
|
||||
t.nseconds = 0;
|
||||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user