diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-09-05 02:41:39 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-09-05 02:41:39 +0200 |
commit | 9b46c73b022962f7595d57123afa72e858dcf0bd (patch) | |
tree | 391780894f856dcf80b4d727147387101d8d5763 | |
parent | 396e1e91726fb9ff8d35a739c634cdddf74bea1c (diff) | |
download | external_libqmi-9b46c73b022962f7595d57123afa72e858dcf0bd.zip external_libqmi-9b46c73b022962f7595d57123afa72e858dcf0bd.tar.gz external_libqmi-9b46c73b022962f7595d57123afa72e858dcf0bd.tar.bz2 |
Causes a crash on Android.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | build-aux/templates/qmi-error-quarks-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/templates/qmi-error-quarks-template.c b/build-aux/templates/qmi-error-quarks-template.c index 4386a60..ffae0b8 100644 --- a/build-aux/templates/qmi-error-quarks-template.c +++ b/build-aux/templates/qmi-error-quarks-template.c @@ -25,7 +25,7 @@ static const GDBusErrorEntry @enum_name@_entries[] = { GQuark @enum_name@_quark (void) { - static volatile gsize quark_volatile = 0; + static volatile gsize quark_volatile = 1; if (!quark_volatile) g_dbus_error_register_error_domain ("@enum_name@_quark", |