diff options
author | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2020-02-05 23:26:31 -0600 |
---|---|---|
committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2020-02-05 23:26:31 -0600 |
commit | 4568188d77815697419c8d0b2c55bcbba7f65929 (patch) | |
tree | 472411d0e3669eb93f79b358976f561e5fa15d14 /NEWS | |
parent | 0eb6cd321e312e32b3ad12c34089466eae60cd88 (diff) | |
download | liberasurecode-4568188d77815697419c8d0b2c55bcbba7f65929.tar.gz |
Do not discard a technical return value in tests
Compilers are getting smarter, and we started getting this:
libec_slap.c: In function 'test_hd_code':
libec_slap.c:285:14: error: 'frags.array' may be used uninitialized
in this function [-Werror=maybe-uninitialized]
The fix is to consume the error code in such a way that the
test proceeds further only when frags are indeed initialized.
Change-Id: I54db0172a36419206d00b22608523a08818f41f6
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions