[dev] [BUG REPORT] blind: clang-40 warning: variable 'frames' is uninitialized when used here
src/blind-from-video.c:234:25: warning: variable 'frames' is
uninitialized when used here [-Wuninitialized]
SPRINTF_HEAD_ZN(head, frames, width, height, "xyza",
&headlen);
^~~~~~
src/stream.h:9:12: note: expanded from macro 'SPRINTF_HEAD_ZN'
(size_t)(FRAMES), (size_t)(WIDTH), (size_t)(HEIGHT),
PIXFMT, 0, LENP)
^~~~~~
src/blind-from-video.c:178:38: note: initialize the variable 'frames' to
silence this warning
size_t width = 0, height = 0, frames;
^
= 0
Received on Sun Jan 28 2018 - 22:21:12 CET
This archive was generated by hypermail 2.3.0
: Sun Jan 28 2018 - 22:24:19 CET