mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Initialize ScopeBuffer::buffer member in constructor
Found by Coverity.
This commit is contained in:
parent
4f795bd309
commit
020a890f42
@ -236,8 +236,8 @@ public:
|
||||
/// positions of child buffers in the buffer
|
||||
typedef map<Buffer const * const, DocIterator> BufferPositionMap;
|
||||
struct ScopeBuffer {
|
||||
ScopeBuffer() {}
|
||||
ScopeBuffer(DocIterator const & s,Buffer const * b)
|
||||
ScopeBuffer() : buffer(0) {}
|
||||
ScopeBuffer(DocIterator const & s, Buffer const * b)
|
||||
: scope(s), buffer(b) {}
|
||||
DocIterator scope;
|
||||
Buffer const * buffer;
|
||||
|
Loading…
Reference in New Issue
Block a user