1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Another try to cope with warnings under gcc 8.2.

This commit is contained in:
Roman Nozdrin
2018-11-30 13:24:58 +03:00
parent cbbf267e88
commit 9dc33c4e82
37 changed files with 145 additions and 100 deletions

View File

@ -40,7 +40,10 @@ FileBuffer::FileBuffer() : fDataLen(0), fLbid(-1), fVerid(0)
FileBuffer::FileBuffer(const FileBuffer& rhs)
{
if (this == NULL || this == &rhs)
// Removed the check for gcc 8.2. The latest gcc version we
// use ATM is 4.8.2 for centos 6 and it also doesn't need
// the check
if (this == &rhs)
return;
fLbid = rhs.fLbid;