mirror of https://github.com/kiwix/libkiwix.git
Remove unecessary variable or output.
This commit is contained in:
parent
a22f962722
commit
2682fa8f9c
|
@ -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);
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue