diff --git a/src/library.cpp b/src/library.cpp index bd37e4127..ef1a65d1a 100644 --- a/src/library.cpp +++ b/src/library.cpp @@ -42,7 +42,6 @@ Library::~Library() bool Library::addBook(const Book& book) { /* Try to find it */ - std::vector::iterator itr; try { auto& oldbook = books.at(book.getId()); oldbook.update(book); diff --git a/src/subprocess_unix.cpp b/src/subprocess_unix.cpp index fad700353..08586f952 100644 --- a/src/subprocess_unix.cpp +++ b/src/subprocess_unix.cpp @@ -58,7 +58,6 @@ void* UnixImpl::waitForPID(void* _self) void UnixImpl::run(const commandLine_t& commandLine) { const char* binary = commandLine[0]; - std::cerr << "running " << binary << std::endl; int pid = fork(); switch(pid) { case -1: