mirror of https://github.com/Gnucash/gnucash
Fix unused return value error from e4836f3c
Re-introducing the fgets() call inpull/441/heade4836f3cthat has been removed inbf55c30triggers the "ignoring return value of fgets, declared with attribute warn_unused_result" error. The even better way is to actually use the return value and check it for non-NULL because only then we did a successful fgets call where we can use its result.
parent
020bc5371f
commit
9069bace15
Loading…
Reference in new issue