Mod: Redundant_string_initialization

This commit is contained in:
berniev
2022-08-08 23:54:39 +10:00
committed by wwmayer
parent 7aede27553
commit 5fa05ab83d
9 changed files with 6 additions and 9 deletions

View File

@@ -1212,7 +1212,7 @@ private:
throw Py::Exception();
std::string svg(svgcode);
std::string empty = "";
std::string empty;
std::string endline = "--endOfLine--";
std::string linebreak = "\\n";
// removing linebreaks for regex to work

View File

@@ -298,7 +298,7 @@ std::string DrawViewSpreadsheet::getSheetImage()
int alignment = 0;
std::string bcolor = "none";
std::string fcolor = c.asHexString();
std::string textstyle = "";
std::string textstyle;
if (cell) {
App::Color f,b;
std::set<std::string> st;

View File

@@ -76,7 +76,6 @@ TaskSectionView::TaskSectionView(TechDraw::DrawViewPart* base) :
m_base(base),
m_section(nullptr),
m_saveScale(1.0),
m_dirName(""),
m_doc(nullptr),
m_createMode(true),
m_saved(false),

View File

@@ -79,7 +79,6 @@ PROPERTY_SOURCE(TechDrawGui::ViewProviderPage, Gui::ViewProviderDocumentObject)
ViewProviderPage::ViewProviderPage()
: m_mdiView(nullptr),
m_docReady(true),
m_pageName(""),
m_graphicsView(nullptr),
m_graphicsScene(nullptr)
{