Remove unneeded null check for entry in for loop
authorWan-Teh Chang <wtc@google.com>
Mon, 4 May 2020 18:18:22 +0000 (11:18 -0700)
committerWan-Teh Chang <wtc@google.com>
Mon, 4 May 2020 18:21:25 +0000 (11:21 -0700)
commit1647d0c62c565c9bbe7ba7d993418a2f1185ca71
treefac93933e6f1a588801f0e83b094e7fb6e35dbee
parentb120ba5781a520c015b356a7c77c89545ccdee32
Remove unneeded null check for entry in for loop

In vpx_codec_control_(), before we enter the for loop, we have already
checked if ctx->iface->ctrl_maps is null and handle that as an error. So
the for loop can assume ctx->iface->ctrl_maps is not null, which implies
'entry' is not null (both initially and after entry++).

Change-Id: Ieafe464d4111fdb77f0586ecfa1835d1cfd44d94
vpx/src/vpx_codec.c