[FFmpeg-trac] #9605(undetermined:new): 5.0 meets -Wlogical-op

FFmpeg trac at avcodec.org
Thu Jan 20 11:15:51 EET 2022


#9605: 5.0 meets -Wlogical-op
-------------------------------------+-------------------------------------
             Reporter:  dcb          |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I just tried to compile ffmpeg-5.0 with the latest gcc compiler and
 compiler flag -Wlogical-op. It said:

 libavformat/img2dec.c:1118:31: warning: logical ‘or’ of collectively
 exhaustive tests is always true [-Wlogical-op]
 libavformat/img2dec.c:1119:31: warning: logical ‘or’ of collectively
 exhaustive tests is always true [-Wlogical-op]
 libavformat/utils.c:1138:29: warning: logical ‘or’ of collectively
 exhaustive tests is always true [-Wlogical-op]
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9605>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list