From 5a590becb2875a432d9b670fab4e3485ce7c0a28 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Sun, 2 Apr 2017 06:30:38 +0300 Subject: [PATCH] Manager: Remove unused function call. From PVS Studio: V530: The return value of function 'c_str' is required to be utilized. https://www.viva64.com/en/w/V530/print/ Signed-off-by: Vitalii Koshura --- clientgui/sg_ProjectWebSitesPopup.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clientgui/sg_ProjectWebSitesPopup.cpp b/clientgui/sg_ProjectWebSitesPopup.cpp index 5b22e116e5..a6943af4d7 100644 --- a/clientgui/sg_ProjectWebSitesPopup.cpp +++ b/clientgui/sg_ProjectWebSitesPopup.cpp @@ -127,7 +127,6 @@ void CSimpleProjectWebSitesPopupButton::OnMenuLinkClicked(wxCommandEvent& event) } else{ int menuId = menuIDevt - WEBSITE_URL_MENU_ID; PROJECT* project = pDoc->state.lookup_project(ctrl_url); - project->gui_urls[menuId].name.c_str(); wxLaunchDefaultBrowser(wxString(project->gui_urls[menuId].url.c_str(),wxConvUTF8)); }