diff options
author | kasper93 <kasper93@gmail.com> | 2013-09-13 16:48:51 +0400 |
---|---|---|
committer | kasper93 <kasper93@gmail.com> | 2013-10-20 17:44:11 +0400 |
commit | a4a2ea678a0c66b0b21dab4ee3d30ad98da701bd (patch) | |
tree | f4733336aeebac17b5b395e91cfc624670cb29c2 /src/SubPic/CoordGeom.cpp | |
parent | b8e82fb73dcfc3aa10a0a166e89021735ef0d9a6 (diff) |
Fix uninitialized class members
Fixes CID #366317, #366318, #366360, #966281, #966282, #966283, #966284,
#966285, #966286, #966287, #966310, #966311, #966313, #966314, #966316,
#966328, #966329, #966343, #966345, #966346, #966347, #966349, #966350,
#966354, #966358, #966359, #966361, #966362, #966363, #966364, #966365,
#966366, #966370, #966371, #966373, #966374, #966375, #966376, #966377,
#966378, #1026047, #1027114, #1041190
Diffstat (limited to 'src/SubPic/CoordGeom.cpp')
-rw-r--r-- | src/SubPic/CoordGeom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SubPic/CoordGeom.cpp b/src/SubPic/CoordGeom.cpp index e082c90c5..776602035 100644 --- a/src/SubPic/CoordGeom.cpp +++ b/src/SubPic/CoordGeom.cpp @@ -349,9 +349,9 @@ Vector& Vector::operator /= (const Vector& v) //
Ray::Ray(Vector& p, Vector& d)
+ : p(p)
+ , d(d)
{
- this->p = p;
- this->d = d;
}
void Ray::Set(const Vector& p, const Vector& d)
|