nsgmls: resolve coverity warnings related to uninitialed members in C++ classes

This commit is contained in:
Peter Howkins
2018-04-20 01:00:01 +01:00
parent 6e7e9d91e1
commit 3464e80165
25 changed files with 73 additions and 34 deletions

View File

@@ -108,7 +108,8 @@ private:
PosixBaseStorageObject::PosixBaseStorageObject(int fd, Boolean mayRewind)
: fd_(fd), eof_(0),
RewindStorageObject(mayRewind, mayRewind && canSeek(fd))
RewindStorageObject(mayRewind, mayRewind && canSeek(fd)),
startOffset_(0)
{
}
@@ -391,7 +392,10 @@ PosixStorageObject::PosixStorageObject(int fd,
PosixBaseStorageObject(fd, mayRewind),
suspended_(0),
filename_(filename),
cfilename_(cfilename)
cfilename_(cfilename),
suspendPos_(0),
suspendFailedMessage_(NULL),
suspendErrno_(0)
{
}