diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-11-18 11:05:07 +0545 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-18 06:08:41 +0000 |
commit | 299133d7b1be6185f094d57ef5dd45f9c9febf4a (patch) | |
tree | 178b8535866e9c47d5e1aae6df25820f253ee75d /parse-xml.c | |
parent | c7f803b8787ef449d340b7975e93ac733c5bda24 (diff) | |
download | subsurface-299133d7b1be6185f094d57ef5dd45f9c9febf4a.tar.gz |
Remove unused variables
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/parse-xml.c b/parse-xml.c index 37d1c25fb..02236113a 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2016,9 +2016,6 @@ extern int dm5_dive(void *param, int columns, char **data, char **column) { int i, interval, retval = 0; sqlite3 *handle = (sqlite3 *)param; - float *profileBlob; - unsigned char *tempBlob; - int *pressureBlob; unsigned const char *sampleBlob; char *err = NULL; char get_events_template[] = "select * from Mark where DiveId = %d"; @@ -2084,9 +2081,6 @@ extern int dm5_dive(void *param, int columns, char **data, char **column) cur_dive->dc.surface_pressure.mbar = (atoi(data[14]) * 1000); interval = data[16] ? atoi(data[16]) : 0; - profileBlob = (float *)(data[17] + 3); - tempBlob = (unsigned char *)(data[17] + 10); - pressureBlob = (int *)(data[17] + 7); sampleBlob = (unsigned const char *)data[17]; for (i = 0; interval && i * interval < cur_dive->duration.seconds; i++) { float *depth = (float *)&sampleBlob[i * 16 + 3]; |