diff options
| author | Peter Maydell | 2016-10-21 19:41:45 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2016-10-28 17:17:23 +0200 |
| commit | 25174055f428254427e7541139037eb9a34fc109 (patch) | |
| tree | 8969b5791979b869e91b9fc5794cdfa470ea5dd1 /scripts/modules | |
| parent | scripts/hxtool: fix undefined behavour of echo (diff) | |
| download | qemu-25174055f428254427e7541139037eb9a34fc109.tar.gz qemu-25174055f428254427e7541139037eb9a34fc109.tar.xz qemu-25174055f428254427e7541139037eb9a34fc109.zip | |
migration: Remove unneeded NULL check from migrate_fd_error()
All the callers of migrate_fd_error() pass a non-NULL
error parameter, and if any did pass NULL then we would
segfault in error_copy(), so remove the unnecessary
NULL check earlier in the function.
(Spotted by Coverity.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions
