Skip to content
Commit c059a22b authored by Jaehoon Chung's avatar Jaehoon Chung Committed by Tom Rini
Browse files

tools: env: fw_env: Fix unused-result warning



Fix unused-result warning about fread.

tools/env/fw_env.c: In function ‘find_nvmem_device’:
tools/env/fw_env.c:1751:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
 1751 |   fread(buf, sizeof(buf), 1, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 2b2e9127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment