diff --git a/parser/ByteBuffer.cpp b/parser/ByteBuffer.cpp index b5957eda..80693918 100644 --- a/parser/ByteBuffer.cpp +++ b/parser/ByteBuffer.cpp @@ -89,7 +89,7 @@ bool ByteBuffer::resize(bufsize_t newSize) this->content = newContent; this->contentSize = newSize; } - } catch (BufferException &e) { + } catch (const BufferException&) { isOk = false; } return isOk;