aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-06-15 14:48:31 -1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-16 21:17:35 -0700
commit6fd1e32452a9d3d1fb7116764442bbd26d36673e (patch)
treeae49e83505a54597050147ecab9b8e871b024a36 /profile.c
parentc917b29701470398b51aa5ad9541275825d912fd (diff)
downloadsubsurface-6fd1e32452a9d3d1fb7116764442bbd26d36673e.tar.gz
Properly initialize device_data_t when downloading
The old gtk branch started out with device_data_t explicitly cleared, but the Qt version never did that. And we actually depend on the deviceid in particular being initialized to zero (and then we fill in the details in the divecomputer download callbacks) Not properly initializing it meant that we ended up with random deviceid's that got added to the divecomputer device lists, and then saved to the XML file without actually matching the data in the dive computers in the actual *dives*. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions