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:23 +0000 |
commit | 1b98db372a1fdaecf9bb897b0ee4b2e72af22f81 (patch) | |
tree | 3c6a50b21e97d760972be8a26495e8bfa85156d2 /meta/recipes-devtools/qemu | |
parent | 9d8edf33d1f5d89b310923b0aa3cc967317c7c49 (diff) | |
download | openembedded-core-contrib-1b98db372a1fdaecf9bb897b0ee4b2e72af22f81.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.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
0 files changed, 0 insertions, 0 deletions