diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2018-05-27 17:17:15 +0300 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-05-27 23:18:01 +0300 |
commit | 7d2c08aed017c60511266d703ec8ffdbe2cb3cd9 (patch) | |
tree | 0ece07b9db8076adb876c1be7ed39bda442ae57e /core/import-shearwater.c | |
parent | a929c86584fadaa84ae6fce0f622ba4941e06e11 (diff) | |
download | subsurface-7d2c08aed017c60511266d703ec8ffdbe2cb3cd9.tar.gz |
Remove unnecessary {}
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/import-shearwater.c')
-rw-r--r-- | core/import-shearwater.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/import-shearwater.c b/core/import-shearwater.c index 83d2fb2fa..2105055a0 100644 --- a/core/import-shearwater.c +++ b/core/import-shearwater.c @@ -107,9 +107,8 @@ extern int shearwater_profile_sample(void *handle, int columns, char **data, cha d7 = atoi(data[7]); if (d7 > 0) { cur_sample->stopdepth.mm = metric ? d7 * 1000 : feet_to_mm(d7); - if (data[8]) { + if (data[8]) cur_sample->stoptime.seconds = atoi(data[8]) * 60; - } cur_sample->in_deco = 1; } else { cur_sample->in_deco = 0; @@ -159,9 +158,8 @@ extern int shearwater_ai_profile_sample(void *handle, int columns, char **data, d9 = atoi(data[9]); if (d9 > 0) { cur_sample->stopdepth.mm = metric ? d9 * 1000 : feet_to_mm(d9); - if (data[10]) { + if (data[10]) cur_sample->stoptime.seconds = atoi(data[10]) * 60; - } cur_sample->in_deco = 1; } else { cur_sample->in_deco = 0; |