aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:17:33 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:28 -0800
commit2da2eb79bcdf9eb0c55ded3c4588e2b678fff6b0 (patch)
treeb89586acf6b4f5ee4497aa2556fef73fdbc35874
parent1048845650d3ae7e8cea93eec06e8ab86f02d3e5 (diff)
downloadsubsurface-2da2eb79bcdf9eb0c55ded3c4588e2b678fff6b0.tar.gz
Silence warnings in gaspressures.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-core/gaspressures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/gaspressures.c b/subsurface-core/gaspressures.c
index 1062c5283..5d3fc9791 100644
--- a/subsurface-core/gaspressures.c
+++ b/subsurface-core/gaspressures.c
@@ -200,7 +200,7 @@ static void fill_missing_tank_pressures(struct dive *dive, struct plot_info *pi,
{
int cyl, i;
struct plot_data *entry;
- pr_interpolate_t interpolate = { 0 };
+ pr_interpolate_t interpolate = { 0, 0, 0, 0 };
pr_track_t *last_segment = NULL;
int cur_pr[MAX_CYLINDERS]; // cur_pr[MAX_CYLINDERS] is the CCR diluent cylinder