Skip to content

ScitillaComponent: Buffer: _currentStatus is used uninitialized in ctor#138

Merged
donho merged 1 commit intonotepad-plus-plus:masterfrom
milipili:master
May 30, 2015
Merged

ScitillaComponent: Buffer: _currentStatus is used uninitialized in ctor#138
donho merged 1 commit intonotepad-plus-plus:masterfrom
milipili:master

Conversation

@milipili
Copy link
Contributor

The non-default constructor of the class Buffer calls the inner method
checkFileState(), using the private variable _currentStatus to determine
whether some checks on the file attached to the buffer are required or not.
However this variable is properly initialized after.

The non-default constructor of the class Buffer calls the inner method
`checkFileState()`, using the private variable `_currentStatus` to determine
whether some checks on the file attached to the buffer are required or not.
However this variable is properly initialized _after_.
@milipili milipili changed the title ScitillaComponent: Buffer: fixed an uninitialized variable in ctor ScitillaComponent: Buffer: _currentStatus is used uninitialized in ctor May 30, 2015
donho added a commit that referenced this pull request May 30, 2015
[ScitillaComponent: Buffer: _currentStatus is used uninitialized in ctor
@donho donho merged commit 8976240 into notepad-plus-plus:master May 30, 2015
@milipili milipili modified the milestone: 6.x Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants