mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Fix a couple of warnings
Removing unused variables. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fe2eabf375
commit
60a5d1d070
2 changed files with 0 additions and 2 deletions
|
@ -275,7 +275,6 @@ void MainTab::updateDiveInfo(int dive)
|
|||
// If exactly one trip has been selected, we show the location / notes
|
||||
// for the trip in the Info tab, otherwise we show the info of the
|
||||
// selected_dive
|
||||
volume_t sacVal;
|
||||
temperature_t temp;
|
||||
struct dive *prevd;
|
||||
struct dive *d = get_dive(dive);
|
||||
|
|
|
@ -271,7 +271,6 @@ void get_selected_dives_text(char *buffer, int size)
|
|||
void get_gas_used(struct dive *dive, volume_t gases[MAX_CYLINDERS])
|
||||
{
|
||||
int idx;
|
||||
volume_t gas_used = { 0 };
|
||||
for (idx = 0; idx < MAX_CYLINDERS; idx++) {
|
||||
cylinder_t *cyl = &dive->cylinder[idx];
|
||||
pressure_t start, end;
|
||||
|
|
Loading…
Reference in a new issue