]> git.ipfire.org Git - thirdparty/systemd.git/commit
id128: fix initializer element is not constant
authorAnita Zhang <the.anitazha@gmail.com>
Wed, 20 Nov 2019 05:50:51 +0000 (21:50 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Nov 2019 09:59:25 +0000 (10:59 +0100)
commit206a29b2e1f63e664de8daffac8b2f9a9c2eec7d
tree70184a5c06273345a4237d0eb921b427f41ad9e7
parentb82e818f5cc919187630bce88fc5d5ded0f51d23
id128: fix initializer element is not constant

Was getting:

  ../src/id128/id128.c:15:1: error: initializer element is not constant
   static sd_id128_t arg_app = SD_ID128_NULL;
    ^
when building on CentOS 7.

Other parts of the code initialize `static sd_id128_t` to {} and this
was the original setting before a19fdd66c22 anyways.
src/id128/id128.c