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:
Berthold Stoeger 2019-04-26 10:08:54 +02:00 committed by Dirk Hohndel
parent 26edea7f71
commit b2b328fd7e

View file

@ -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;