mirror of git://git.sysmocom.de/ofono
main: Remove call to g_thread_init
according to g_thread documentation, this call is no longer needed, and starting from g_thread version 2.32 it must not be used
This commit is contained in:
parent
ce6c1087a2
commit
f11633f837
|
@ -211,11 +211,6 @@ int main(int argc, char **argv)
|
|||
struct ell_event_source *source;
|
||||
#endif
|
||||
|
||||
#ifdef NEED_THREADS
|
||||
if (g_thread_supported() == FALSE)
|
||||
g_thread_init(NULL);
|
||||
#endif
|
||||
|
||||
context = g_option_context_new(NULL);
|
||||
g_option_context_add_main_entries(context, options, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue