Opened 2 years ago

Closed 2 years ago

#9605 closed defect (fixed)

5.0 meets -Wlogical-op

Reported by: dcb Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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]

Change History (2)

comment:2 by Balling, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.