diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-05-26 13:20:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-27 19:23:58 +0200 |
commit | d153e4628e7643cf02b795f68f739c4bced15389 (patch) | |
tree | 6eeb22a82bbd540250fd882b0dc3df2fe91d2c75 /src/plugins | |
parent | d0c38291eb8c58b85c5df21afe6c3b729b3cb492 (diff) |
Initialize the count variable used in SQLNumResultCols to 0
If the call to SQLNumResultCols fails for whatever reason then it will
not be correctly caught since the count might be higher than 0 since it is
uninitalized. This ensures that if it fails then it does not try to act as
if it succeeded.
Task-number: QTBUG-39137
Change-Id: Ifae8c1f7fac8416643f2317747f87295642a7935
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions