diff options
author | Albert Astals <albert.astals@canonical.com> | 2014-02-28 12:39:58 +0000 |
---|---|---|
committer | Tarmac <> | 2014-02-28 12:39:58 +0000 |
commit | 788ebe3e81885b48051087afb4d8256366d7d262 (patch) | |
tree | 85ff15cee145e5b07038d4f5e4a83edba349b1c9 /CMakeLists.txt | |
parent | 24aa85ffbd8d84f0cb7cb1e5d66fc4ca1d934f38 (diff) | |
parent | 7b70ef5dae3e27317725942b9eb158adcaed24ee (diff) | |
download | qmenumodel-788ebe3e81885b48051087afb4d8256366d7d262.tar.gz qmenumodel-788ebe3e81885b48051087afb4d8256366d7d262.tar.bz2 qmenumodel-788ebe3e81885b48051087afb4d8256366d7d262.zip |
Fix use of un-initialized memory
Since m_valid was not initialized calling setValid ends up in an uninitialized memory use in the if comparison. The other thing setValid does is emitting a signal, but this is the constructor, so you don't need the signal either, so basically just assign the variable directly
.
Approved by PS Jenkins bot, Lars Uebernickel.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions