libnm-core,libnm-util: avoid calling a constructor
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 15 May 2015 16:27:19 +0000 (18:27 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jun 2015 10:30:03 +0000 (12:30 +0200)
commitccb0ca4493d8276c3a14b8c764c7fecc4fedc1fa
treef7de18a4b18d30bc3f48861ebb6520d3aa475d33
parent3811a68389b9277533f2eee8372927ca6238653e
libnm-core,libnm-util: avoid calling a constructor

It yields completely unpredictable results on Ubuntu 12.04 (the global variable
successfully comparing to NULL despite demonstrably not NULL). Possibly a
toolchain bug.
libnm-core/nm-setting.c
libnm-util/nm-setting.c