Remove unecessary variable or output.

This commit is contained in:
Matthieu Gautier 2018-10-26 14:19:10 +02:00
parent a22f962722
commit 2682fa8f9c
2 changed files with 0 additions and 2 deletions

View File

@ -42,7 +42,6 @@ Library::~Library()
bool Library::addBook(const Book& book)
{
/* Try to find it */
std::vector<kiwix::Book>::iterator itr;
try {
auto& oldbook = books.at(book.getId());
oldbook.update(book);

View File

@ -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: