mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Cleanup: remove redundant string clearing
The default QString constructor generates an empty string. No point in assigning the empty string to such a thing. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
26edea7f71
commit
b2b328fd7e
1 changed files with 0 additions and 1 deletions
|
@ -52,7 +52,6 @@ void TabDiveInformation::updateProfile()
|
||||||
volume_t sac;
|
volume_t sac;
|
||||||
QString gaslist, SACs, separator;
|
QString gaslist, SACs, separator;
|
||||||
|
|
||||||
gaslist = ""; SACs = ""; volumes = ""; separator = "";
|
|
||||||
for (int i = 0; i < MAX_CYLINDERS; i++) {
|
for (int i = 0; i < MAX_CYLINDERS; i++) {
|
||||||
if (!is_cylinder_used(current_dive, i))
|
if (!is_cylinder_used(current_dive, i))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue