Skip to content
Snippets Groups Projects
Commit 28245038 authored by Philip Withnall's avatar Philip Withnall
Browse files

codegen: Fix use of uninitialised variable


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: default avatarPhilip Withnall <withnall@endlessm.com>
parent 2e4a23cd
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment