Intialize m_lastPosition
ClosedPublic

Authored by jtamate on Sep 11 2018, 11:22 AM.

Details

Summary

Avoid uninitialized usage of m_lastPosition.

Test Plan

Run kwrite under valgrind, no message.

Diff Detail

Repository
R39 KTextEditor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jtamate created this revision.Sep 11 2018, 11:22 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptSep 11 2018, 11:22 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
jtamate requested review of this revision.Sep 11 2018, 11:22 AM
cullmann accepted this revision.Sep 11 2018, 11:24 AM

Reasonable fix. Thanks!

This revision is now accepted and ready to land.Sep 11 2018, 11:24 AM
volkov accepted this revision.Sep 11 2018, 11:36 AM
This revision was automatically updated to reflect the committed changes.