From b2b328fd7e6528a968247f53b716c22cc48c44d0 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 26 Apr 2019 10:08:54 +0200 Subject: 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 --- desktop-widgets/tab-widgets/TabDiveInformation.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.cpp b/desktop-widgets/tab-widgets/TabDiveInformation.cpp index 0b778be7f..5fe6ea714 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.cpp +++ b/desktop-widgets/tab-widgets/TabDiveInformation.cpp @@ -52,7 +52,6 @@ void TabDiveInformation::updateProfile() volume_t sac; QString gaslist, SACs, separator; - gaslist = ""; SACs = ""; volumes = ""; separator = ""; for (int i = 0; i < MAX_CYLINDERS; i++) { if (!is_cylinder_used(current_dive, i)) continue; -- cgit v1.2.3-70-g09d2