fix C compiler warning about unused expression result

--HG--
extra : transplant_source : q%D5F8/%0B6%E2%B7R%F3%C9%E1%98%1B%E0X%A0%F1I
merge 0.19.x branch into master