From 2682fa8f9c7a12d9e62eda38240e2a604558708e Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 26 Oct 2018 14:19:10 +0200 Subject: [PATCH] Remove unecessary variable or output. --- src/library.cpp | 1 - src/subprocess_unix.cpp | 1 - 2 files changed, 2 deletions(-) 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: