Compilation warning
Closed this issue · 0 comments
est31 commented
A minetest user had the following warning while compilation:
minetest/src/util/srp.cpp: In function ‘int fill_buff()’:
/src/util/srp.cpp:530:49: warning: ignoring return value of ‘size_t fread(void*,
size_t, size_t, FILE*)’, declared with attribute warn_unused_result
[-Wunused-result] fread(g_rand_buff, sizeof(g_rand_buff), 1, fp); ^