summaryrefslogtreecommitdiff
path: root/block/snapshot.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-11-18 11:48:41 +0000
committerJuan Quintela <quintela@redhat.com>2015-11-19 11:49:53 +0100
commit5df5416e639cd75bd85d243af41387c2418fa580 (patch)
treebb45896d8dc18840572f5f3456d3a4dedc6be594 /block/snapshot.c
parent95a7788b2faa81ff95675f1e46a3272a612b35de (diff)
downloadqemu-5df5416e639cd75bd85d243af41387c2418fa580.tar.gz
Unneeded NULL check
The check is unneccesary, we read the value at the start of the thread, use it, and never change it. The value is checked to be non-NULL before thread creation. Spotted by coverity, CID 1339211 Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'block/snapshot.c')
0 files changed, 0 insertions, 0 deletions