mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Initialize MathData members
Coverity issues 23381 and 23436
This commit is contained in:
parent
cdeb425451
commit
caa93de445
@ -48,7 +48,8 @@ namespace lyx {
|
||||
|
||||
|
||||
MathData::MathData(Buffer * buf, const_iterator from, const_iterator to)
|
||||
: base_type(from, to), buffer_(buf)
|
||||
: base_type(from, to), minasc_(0), mindes_(0), slevel_(0),
|
||||
sshift_(0), kerning_(0), buffer_(buf)
|
||||
{}
|
||||
|
||||
|
||||
|
@ -66,7 +66,8 @@ public:
|
||||
|
||||
public:
|
||||
///
|
||||
MathData(Buffer * buf = 0) : buffer_(buf) {}
|
||||
MathData(Buffer * buf = 0) : minasc_(0), mindes_(0), slevel_(0),
|
||||
sshift_(0), kerning_(0), buffer_(buf) {}
|
||||
///
|
||||
MathData(Buffer * buf, const_iterator from, const_iterator to);
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user