diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-04-19 21:24:28 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-04-19 21:24:28 +0200 |
commit | aa364e3d8594a6496cb29a5ac1b81b9bf22dd73b (patch) | |
tree | c4f513aa951a590235c26f77aa9a736f546e3b60 /NEWS | |
parent | 907cc6a96b43bacb20e36f7ec6597a6210a00367 (diff) |
qmicli,dms: fix logic getting stored image result
The GetStoredImageResult must exist before getting into the array item
loop, so that we fill the contents of the struct when we find the
images (modem and pri) we were looking for.
This also fixes the build when -Werror=maybe-uninitialized is used:
/var/lib/jenkins/workspace/libqmi/master-without-mbim/source/src/qmicli/qmicli-dms.c:2800:5: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
g_task_return_pointer (task, result, (GDestroyNotify)get_stored_image_result_free);
^
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions