From 08e24a3e1468aa2b1d2a0cfc113f8cb001ee7595 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Date: Mon, 7 Mar 2016 15:37:11 -0300
Subject: [PATCH 10/10] Fix build for desktop

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
---
 subsurface-core/configuredivecomputerthreads.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/subsurface-core/configuredivecomputerthreads.cpp b/subsurface-core/configuredivecomputerthreads.cpp
index 62e9972..e3e50b2 100644
--- a/subsurface-core/configuredivecomputerthreads.cpp
+++ b/subsurface-core/configuredivecomputerthreads.cpp
@@ -1131,35 +1131,35 @@ static dc_status_t read_ostc_settings(dc_device_t *device, DeviceDetails *m_devi
 	// Diluent 1 Default (%O2,%He)
 	// Byte98-99:
 	// Diluent 1 Current (%O2,%He)
-	gas dil1 = {};
+	gas dil1;
 	dil1.oxygen = data[97];
 	dil1.helium = data[98];
 	// Byte100-101:
 	// Gasuent 2 Default (%O2,%He)
 	// Byte102-103:
 	// Gasuent 2 Current (%O2,%He)
-	gas dil2 = {};
+	gas dil2;
 	dil2.oxygen = data[101];
 	dil2.helium = data[102];
 	// Byte104-105:
 	// Gasuent 3 Default (%O2,%He)
 	// Byte106-107:
 	// Gasuent 3 Current (%O2,%He)
-	gas dil3 = {};
+	gas dil3;
 	dil3.oxygen = data[105];
 	dil3.helium = data[106];
 	// Byte108-109:
 	// Gasuent 4 Default (%O2,%He)
 	// Byte110-111:
 	// Gasuent 4 Current (%O2,%He)
-	gas dil4 = {};
+	gas dil4;
 	dil4.oxygen = data[109];
 	dil4.helium = data[110];
 	// Byte112-113:
 	// Gasuent 5 Default (%O2,%He)
 	// Byte114-115:
 	// Gasuent 5 Current (%O2,%He)
-	gas dil5 = {};
+	gas dil5;
 	dil5.oxygen = data[113];
 	dil5.helium = data[114];
 	// Byte116:
-- 
2.5.4 (Apple Git-61)

