Project

General

Profile

Actions

Bug #8033

closed

hal: need to add DBUS_TYPE_ARRAY to LibHalPropertyType

Added by Toomas Soome over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-04-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

From gcc-6 build:

../common/libhal.c: In function 'libhal_property_fill_value_from_variant':
../common/libhal.c:336:2: error: case value '97' not in enumerated type 'LibHalPropertyType {aka enum <anonymous>}' [-Werror=switch]
  case DBUS_TYPE_ARRAY:
  ^~~~
cc1: all warnings being treated as errors

The LibHalPropertyType has selection of DBUS types and it is missing the type for array.

Actions

Also available in: Atom PDF