Skip to content

Remove a variable that is set but not used

Martin Storsjö requested to merge mstorsjo/dav1d:unused-variable into master

This fixes warnings when building with the top of tree version of clang:

tools/input/ivf.c:69:12: warning: variable 'res' set but not used [-Wunused-but-set-variable]

Alternatively, a (void)res cast also marks the variable as used, silencing the same warning.

Edited by Martin Storsjö

Merge request reports

Loading