Skip to content

Commit

Permalink
Try to fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Nov 5, 2016
1 parent 350e5a7 commit b607e83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -375,7 +375,7 @@ $(SRCDIR)/checktype.o: lib/checktype.cpp lib/cxx11emu.h lib/checktype.h lib/conf
$(SRCDIR)/checkuninitvar.o: lib/checkuninitvar.cpp lib/cxx11emu.h lib/checkuninitvar.h lib/config.h lib/check.h lib/token.h lib/valueflow.h lib/mathlib.h lib/tokenize.h lib/errorlogger.h lib/suppressions.h lib/tokenlist.h lib/settings.h lib/library.h lib/standards.h lib/platform.h lib/importproject.h lib/timer.h lib/astutils.h lib/checknullpointer.h lib/symboldatabase.h
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o $(SRCDIR)/checkuninitvar.o $(SRCDIR)/checkuninitvar.cpp

$(SRCDIR)/checkunusedfunctions.o: lib/checkunusedfunctions.cpp lib/cxx11emu.h lib/checkunusedfunctions.h lib/config.h lib/check.h lib/token.h lib/valueflow.h lib/mathlib.h lib/tokenize.h lib/errorlogger.h lib/suppressions.h lib/tokenlist.h lib/settings.h lib/library.h lib/standards.h lib/platform.h lib/importproject.h lib/timer.h lib/symboldatabase.h
$(SRCDIR)/checkunusedfunctions.o: lib/checkunusedfunctions.cpp lib/cxx11emu.h lib/checkunusedfunctions.h lib/config.h lib/check.h lib/token.h lib/valueflow.h lib/mathlib.h lib/tokenize.h lib/errorlogger.h lib/suppressions.h lib/tokenlist.h lib/settings.h lib/library.h lib/standards.h lib/platform.h lib/importproject.h lib/timer.h lib/symboldatabase.h lib/analyzerinfo.h
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o $(SRCDIR)/checkunusedfunctions.o $(SRCDIR)/checkunusedfunctions.cpp

$(SRCDIR)/checkunusedvar.o: lib/checkunusedvar.cpp lib/cxx11emu.h lib/checkunusedvar.h lib/config.h lib/check.h lib/token.h lib/valueflow.h lib/mathlib.h lib/tokenize.h lib/errorlogger.h lib/suppressions.h lib/tokenlist.h lib/settings.h lib/library.h lib/standards.h lib/platform.h lib/importproject.h lib/timer.h lib/symboldatabase.h
Expand Down
2 changes: 1 addition & 1 deletion lib/checkunusedfunctions.cpp
Expand Up @@ -307,7 +307,7 @@ std::string CheckUnusedFunctions::analyzerInfo() const
namespace {
struct Location {
Location() : fileName(""), lineNumber(0) {}
Location(std::string f, int l) : fileName(f), lineNumber(l) {}
Location(const std::string &f, int l) : fileName(f), lineNumber(l) {}
std::string fileName;
int lineNumber;
};
Expand Down
4 changes: 2 additions & 2 deletions lib/cppcheck.cpp
Expand Up @@ -733,8 +733,8 @@ void CppCheck::analyseWholeProgram(const std::string &buildDir, const std::map<s
{
if (buildDir.empty())
return;
if (_settings.isEnabled("unusedFunctions"))
CheckUnusedFunctions::instance.analyseWholeProgram(this, buildDir, files);
// if (_settings.isEnabled("unusedFunction"))
// CheckUnusedFunctions::instance.analyseWholeProgram(this, buildDir, files);
}

bool CppCheck::isUnusedFunctionCheckEnabled() const
Expand Down

0 comments on commit b607e83

Please sign in to comment.