9ba04de domain_conf: Resolve Coverity REVERSE_INULL

Authored and Committed by John Ferlan 9 years ago
    domain_conf: Resolve Coverity REVERSE_INULL
    
    In virDomainActualNetDefFormat() a call to virDomainNetGetActualType(def)
    was made before a check for (!def) a few lines later. This triggered
    Coverity to note the possible NULL deref.  Just moving the initialization
    to after the !def checks resolves the issue
    
        
file modified
+4 -2