[libvirt] [PATCH 04/10] storage_driver: Resolve Coverity REVERSE_INULL

2014-08-27 Thread John Ferlan
There were two occurrances of attempting to initialize actualType by calling virStorageSourceGetActualType(src) prior to a check if (!src) resulting in Coverity complaining about the possible NULL dereference in virStorageSourceGetActualType() of src. Resolve by moving the actualType setting

Re: [libvirt] [PATCH 04/10] storage_driver: Resolve Coverity REVERSE_INULL

2014-08-27 Thread Peter Krempa
On 08/27/14 15:51, John Ferlan wrote: There were two occurrances of attempting to initialize actualType by calling virStorageSourceGetActualType(src) prior to a check if (!src) resulting in Coverity complaining about the possible NULL dereference in virStorageSourceGetActualType() of src.