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 #1

Updated by Electric Monk over 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit f2f489c1d1fcefdd10545976e55fd8405f621a92

commit  f2f489c1d1fcefdd10545976e55fd8405f621a92
Author: Toomas Soome <tsoome@me.com>
Date:   2017-04-14T20:01:00.000Z

    8033 hal: need to add DBUS_TYPE_ARRAY to LibHalPropertyType
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF