Skip to content

Commit

Permalink
pdbfmt.cpp: avoid strange gcc10 warning (on arm only)
Browse files Browse the repository at this point in the history
  • Loading branch information
poire-z committed Oct 14, 2021
1 parent 386c5d6 commit 9755f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crengine/src/pdbfmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ class PDBFile : public LVNamedStream {
LVArray<lUInt8> srcbuf;
LVArray<lUInt8> * buf = _compression ? &srcbuf : dstbuf;
if ( buf->empty() )
buf->reserve(1); // ensure buf->_array is no more NULL for _stream->Read(dstbuf->get() above
buf->reserve(7); // ensure buf->_array is no more NULL for _stream->Read(dstbuf->get() above
if (!readRecordNoUnpack(index, buf))
return false;

Expand Down

0 comments on commit 9755f3f

Please sign in to comment.