Initializes seqDumpPos on qiodevice.cpp
authorNick Ratelle <nratelle@qnx.com>
Fri, 6 Jan 2012 17:19:27 +0000 (12:19 -0500)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 16:45:38 +0000 (17:45 +0100)
commite7e87993042ac9a4fd899da5ea0340322b47d9ff
tree49fa83359e32ef857e041bbfb5a8551aa9a0926a
parentd5268eabfbad3743c47cf7a6aaf98ef7029d2ef1
Initializes seqDumpPos on qiodevice.cpp

This was spotted by RIM static code checking team. seqDumpPos is a dummy
variable which is only used on sequential mode. It is used as a
simultaneous storage area of both pPos and pDevicePos when in sequential mode,
to keep both in sync. They just suggested that it would be a good practice to
initialize the variable, since it does not have any side effect, and there's
not much value on not doing it.

Change-Id: I8138729eb31df5779c91b368c2cfaecd39788f29
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
src/corelib/io/qiodevice.cpp