• Philip Withnall's avatar
    codegen: Fix use of uninitialised variable · 56492553
    Philip Withnall authored
    If using the --interface-info-{body,header} options to gdbus-codegen,
    and the first interface to be outputted has no methods, but does have
    properties or signals, an uninitialised variable would be used for the
    property/signal ‘since’ values.
    
    In other situations, the ‘since’ value for a prior method would have
    been incorrectly used for the properties/signals.
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    56492553