diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-20 21:10:44 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-05-22 18:46:37 +0200 |
commit | 2d08cb93fc4422b4670d3c44f7575b3ee5278a1d (patch) | |
tree | 9b292443f3b7c5474e851a4c6f5f6777bcd20f53 /src/plugins/texteditor/snippets/snippetssettingspage.cpp | |
parent | ca8cd6b806b2c651fa6c941776cd5e587b531f08 (diff) | |
download | qt-creator-2d08cb93fc4422b4670d3c44f7575b3ee5278a1d.tar.gz |
Fix non-void function that returned without a return value
QTC_ASSERT(false, action) would print "false" and then take that action
(the return). The other branch of the QTC_ASSERT was a constant false,
so it would never be taken. However, ICC didn't seem happy with it, so I
moved the return to after the checking.
Change-Id: Ia50e75c91fb345e6b21cd5f91df3070544b42d22
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/texteditor/snippets/snippetssettingspage.cpp')
0 files changed, 0 insertions, 0 deletions