diff options
author | AlexChen <alex.chen@huawei.com> | 2020-11-05 23:03:36 +0800 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2020-11-09 18:34:21 +0100 |
commit | dccaea2514007dd526a54038ffcaef5fb9c95c0c (patch) | |
tree | 606d4bff90b5811e1aa834d570aaf6002b6123ab /.gitlab-ci.yml | |
parent | 3dc057923d3f3cd92ddc1685ff44022eec175c9c (diff) | |
download | qemu-dccaea2514007dd526a54038ffcaef5fb9c95c0c.zip qemu-dccaea2514007dd526a54038ffcaef5fb9c95c0c.tar.gz qemu-dccaea2514007dd526a54038ffcaef5fb9c95c0c.tar.bz2 |
tests/qtest/tpm: Remove redundant check in the tpm_test_swtpm_test()
The 'addr' would not be NULL after checking 'succ' is valid,
and it has been dereferenced in the previous code(args = g_strdup_printf()).
So the check on 'addr' in the tpm_test_swtpm_test() is redundant. Remove it.
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Message-Id: <5FA41448.4040404@huawei.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions