diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-18 13:57:17 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-19 12:36:17 (GMT) |
commit | b26af959573407b3bb4cb657f08b76023554607f (patch) | |
tree | 23c5b8d0cd279c409ffe7ca405c3064b3475a57b /demos/chip | |
parent | f50439ac2bd701f88eb7843fccbbf885c3528a54 (diff) | |
download | Qt-b26af959573407b3bb4cb657f08b76023554607f.zip Qt-b26af959573407b3bb4cb657f08b76023554607f.tar.gz Qt-b26af959573407b3bb4cb657f08b76023554607f.tar.bz2 |
Don't use pointers to temporary vars that go out of scope.
Moved the dummy variable to the same scope as the 'motion' variable.
This fixes Coverity defect CID 1528.
Reviewed-by: Olivier Goffart
Reviewed-by: Gabriel de Dietrich
Diffstat (limited to 'demos/chip')
0 files changed, 0 insertions, 0 deletions