mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
fix a couple of g++ warnings
This commit is contained in:
parent
1e0fbb8657
commit
69fd22c4e0
@ -146,6 +146,7 @@ const DigestEngine::Digest& SHA1Engine::digest()
|
||||
#if defined(POCO_COMPILER_GCC)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#endif
|
||||
_digest.insert(_digest.begin(), hash, hash + DIGEST_SIZE);
|
||||
#if defined(POCO_COMPILER_GCC)
|
||||
|
@ -34,7 +34,7 @@ SignalHandler::JumpBufferVec SignalHandler::_jumpBufferVec;
|
||||
SignalHandler::SignalHandler()
|
||||
{
|
||||
JumpBufferVec& jbv = jumpBufferVec();
|
||||
JumpBuffer buf;
|
||||
JumpBuffer buf = {};
|
||||
jbv.push_back(buf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user