]> Git Repo - qemu.git/commit
migration: Remove unneeded NULL check from migrate_fd_error()
authorPeter Maydell <[email protected]>
Fri, 21 Oct 2016 17:41:45 +0000 (18:41 +0100)
committerMichael Tokarev <[email protected]>
Fri, 28 Oct 2016 15:17:23 +0000 (18:17 +0300)
commit25174055f428254427e7541139037eb9a34fc109
tree8969b5791979b869e91b9fc5794cdfa470ea5dd1
parent5a1de0b325c9c3df41cb41bcea8dca5fafc67b9a
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 <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
migration/migration.c
This page took 0.024004 seconds and 4 git commands to generate.