• E
    uuid: annotate non-null requirements · 208a6756
    Eric Blake 提交于
    Coverity already saw through a NULL dereference without these
    annotations, and gcc is still too puny to do good NULL analysis.
    But clang still benefits (and is easier to run than coverity),
    not to mention that adding this bit of documentation to the code
    may help future developers remember the constraints.
    
    * src/util/uuid.h (virGetHostUUID, virUUIDFormat): Document
    restrictions, for improved static analysis.
    208a6756
uuid.h 1.3 KB