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:
ston3lu
2025-09-24 15:02:41 +03:00
committed by Vitaliy Filippov
parent 8a250f4fca
commit 1ad6933953
+3
View File
@@ -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;
}