[MDEV-5967] tautological compare in filesort_utils.h while compiling MariaDB 10.0.9 Created: 2014-03-28  Updated: 2014-03-28  Resolved: 2014-03-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.9
Fix Version/s: 10.0.10

Type: Bug Priority: Major
Reporter: Giuseppe Maxia Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-5173 Cppcheck report Closed

 Description   

While compiling mariadb 10.0.9 on Mac OSX, I found this:

build/mariadb-10.0.9/sql/filesort_utils.h:98:29: warning: self-comparison always evaluates to true [-Wtautological-compare]
            m_record_length == m_record_length);
                            ^



 Comments   
Comment by Sergei Golubchik [ 2014-03-28 ]

Thanks, datacharmer, this was fixed in 10.0.10 in MDEV-5173

Generated at Thu Feb 08 07:08:23 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.