[FFmpeg-devel] [PATCHv2] avdevice/lavfi: fix self assignment warning

Nicolas George george at nsup.org
Sun Aug 23 10:16:36 CEST 2015

Le quintidi 5 fructidor, an CCXXIII, Ganesh Ajjanagadde a écrit :
> FAIL(ret) expands to statements including a silly ret=ret.
> This triggers a -Wself-assign on confirmed clang 3.6, and so we fix it.
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
>  libavdevice/lavfi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

No objection, although I find that warning a rather bad idea if it does not
have checks to see if the code is part of a macro.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150823/8e79a025/attachment.sig>

More information about the ffmpeg-devel mailing list