Summary: | dbus-send fails to build with -Werror=maybe-uninitialized on Debian gcc 7.2.0-7 | ||
---|---|---|---|
Product: | dbus | Reporter: | Simon McVittie <smcv> |
Component: | core | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | D-Bus Maintainers <dbus> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | 1.10 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: | ||
Attachments: | dbus-send: Reassure the compiler that secondary_type is initialized |
Description
Simon McVittie
2017-09-25 15:24:59 UTC
Created attachment 134464 [details] [review] dbus-send: Reassure the compiler that secondary_type is initialized It's initialized to a non-trivial value whenever container_type is DBUS_TYPE_DICT_ENTRY, and subsequently only used if container_type is DBUS_TYPE_DICT_ENTRY, but Debian's gcc 7.2.0-7 doesn't seem to be able to infer that any more, causing build failure under -Werror=maybe-uninitialized. Comment on attachment 134464 [details] [review] dbus-send: Reassure the compiler that secondary_type is initialized Review of attachment 134464 [details] [review]: ----------------------------------------------------------------- ++ Thanks, fixed in git for 1.11.18 and 1.10.24. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.