id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking,platform 14300,Media Kit: Fix -Wtautological-compare,mt,nobody,"https://review.haiku-os.org/#/c/haiku/+/359/ In kits/media/experimental/AdapterIO.cpp, modify comparisons, since they always evaluates to false. Pointed by gcc8 [-Werror=tautological-compare]. {{{ /home/haiku/haiku/haiku/src/kits/media/experimental/AdapterIO.cpp: In member function 'bool RelativePositionIO::IsMutable() const': /home/haiku/haiku/haiku/src/kits/media/experimental/AdapterIO.cpp:173:41: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] return (flags & B_MEDIA_MUTABLE_SIZE) == true; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/haiku/haiku/haiku/src/kits/media/experimental/AdapterIO.cpp: In member function 'bool RelativePositionIO::IsSeekable() const': /home/haiku/haiku/haiku/src/kits/media/experimental/AdapterIO.cpp:180:37: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] return (flags & B_MEDIA_SEEKABLE) == true; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ }}} ",bug,closed,normal,Unscheduled,- General,R1/Development,fixed,,,,,All