diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-14 15:09:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-14 15:55:07 -0400 |
commit | b01cba13c5dc81ed7367ae79b6af361e6abc0da1 (patch) | |
tree | f352a825e58d92f2c417d94f70ad823b23ad99cb /CodingStyle.md | |
parent | 8ddbe50d2921595e20947a1c8c828a286117c543 (diff) | |
download | subsurface-b01cba13c5dc81ed7367ae79b6af361e6abc0da1.tar.gz |
Parser: remove global variable dive_id
This variable was only used in the divinglog_dive() function. There,
it was initialized right at the beginning and therefore there seems
to be no point in conserving its value across function-calls.
Make the variable local and remove the global version.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'CodingStyle.md')
0 files changed, 0 insertions, 0 deletions