aboutsummaryrefslogtreecommitdiffstats
path: root/86cf786c04541c18febc897686a0d5bea29ce688
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-18 13:48:03 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 10:12:05 (GMT)
commit36bcba973ad478042d1ffc6e89afd92e8bd17030 (patch)
tree67aa19d1013df02bd0825e76d3d3c2ea49b9b3ff /86cf786c04541c18febc897686a0d5bea29ce688
parenta16e37726c444cbda91e73ed5f742e717bfe866f (diff)
[media] mtk_vcodec_dec: return error at mtk_vdec_pic_info_update()HEADmaster
Gcc 7.1 complains that: drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c: In function 'mtk_vdec_pic_info_update': drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:284:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ Indeed, if debug is disabled, "ret" is never used. The best fix for it seems to make the fuction to return an error code. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to '86cf786c04541c18febc897686a0d5bea29ce688')
0 files changed, 0 insertions, 0 deletions