Skip to content

Commit ec08ec5

Browse files
authored
removed unused Settings::dumpFile (danmar#7097)
1 parent b3ca26e commit ec08ec5

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/cppcheck.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,6 @@ static std::vector<std::string> split(const std::string &str, const std::string
332332

333333
static std::string getDumpFileName(const Settings& settings, const std::string& filename)
334334
{
335-
if (!settings.dumpFile.empty())
336-
return settings.dumpFile;
337-
338335
std::string extension;
339336
if (settings.dump || !settings.buildDir.empty())
340337
extension = ".dump";

lib/settings.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ class CPPCHECKLIB WARN_UNUSED Settings {
207207

208208
/** @brief Is --dump given? */
209209
bool dump{};
210-
std::string dumpFile;
211210

212211
/** @brief Name of the language that is enforced. Empty per default. */
213212
Standards::Language enforcedLang{};

0 commit comments

Comments
 (0)