pvs fix warnings
git-svn-id: svn://db.shs.com.ru/pip@280 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -122,12 +122,14 @@ PIString PIFile::FileInfo::dir() const {
|
||||
|
||||
|
||||
PIFile::PIFile(): PIIODevice() {
|
||||
fd = 0;
|
||||
fdi = -1;
|
||||
setPrecision(5);
|
||||
}
|
||||
|
||||
|
||||
PIFile::PIFile(const PIString & path, PIIODevice::DeviceMode mode): PIIODevice(path, mode) {
|
||||
fd = 0;
|
||||
fdi = -1;
|
||||
setPrecision(5);
|
||||
if (!path.isEmpty())
|
||||
@@ -136,7 +138,8 @@ PIFile::PIFile(const PIString & path, PIIODevice::DeviceMode mode): PIIODevice(p
|
||||
|
||||
|
||||
PIFile::PIFile(const PIFile & other) {
|
||||
fdi = -1;
|
||||
fd = 0;
|
||||
fdi = -1;
|
||||
setPrecision(other.prec_);
|
||||
setPath(other.path());
|
||||
mode_ = other.mode_;
|
||||
|
||||
Reference in New Issue
Block a user