diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2020-03-11 21:49:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 22:49:28 +0000 |
commit | d24dd531e2fa261b07d98b15d07652048dcb5e8d (patch) | |
tree | 854a54e2140800e98f5566657ee63b051489bece /meta/recipes-multimedia/lame | |
parent | b10131ea746efe6b7056dc670ac9839c17cba578 (diff) | |
download | poky-d24dd531e2fa261b07d98b15d07652048dcb5e8d.tar.gz |
babeltrace2: initialize the other_entry pointer
When add below line to local.conf to enable debug build:
DEBUG_BUILD = "1"
There comes below failure when run "bitbake babeltrace2"
| ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted':
| ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| 702 | !ds_index_entries_equal(entry, other_entry)) {
So initialize the other_entry pointer to fix the above error.
(From OE-Core rev: 1b98db372a1fdaecf9bb897b0ee4b2e72af22f81)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/lame')
0 files changed, 0 insertions, 0 deletions