aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-15 17:45:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-15 17:45:22 -0800
commitcdb69aea090cd142dbeb53e6c40df2d68299e686 (patch)
tree7c2e7f830908cc35bdd3cb93d662ca985dd11932
parent4525fbb147dc9b6e3bddce14453747fa4f97b189 (diff)
downloadsubsurface-cdb69aea090cd142dbeb53e6c40df2d68299e686.tar.gz
Remove some unused variables
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--parse-xml.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 40bbf40ab..2e7fada55 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1939,10 +1939,8 @@ extern int shearwater_profile_sample(void *handle, int columns, char **data, cha
extern int shearwater_dive(void *param, int columns, char **data, char **column)
{
- int i, interval, retval = 0;
+ int retval = 0;
sqlite3 *handle = (sqlite3 *)param;
- float *profileBlob;
- unsigned char *tempBlob;
char *err = NULL;
char get_profile_template[] = "select currentTime,currentDepth,waterTemp,averagePPO2,currentNdl,CNSPercent,decoCeiling from dive_log_records where diveLogId = %d";
char get_cylinder_template[] = "select fractionO2,fractionHe from dive_log_records where diveLogId = %d group by fractionO2,fractionHe";