1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

build: fix linking error on arm64 Darwin

Currently, it is not possible to build git master on Darwin, as seen in
several issues reported previously.

This commit fixes that issues, by initializing two variables to NULL.
I have no idea, why this solves the linking error, as to my knowledge,
global variables do not need to be initialized.
This commit is contained in:
Emil Engler 2023-08-14 11:20:11 +02:00
parent f9c9485d15
commit 47b7f5164a
No known key found for this signature in database
GPG Key ID: 2F6D4145C55FC7C7

View File

@ -34,8 +34,8 @@
#include "default-theme.h"
GSList *themes;
THEME_REC *current_theme;
GHashTable *default_formats;
THEME_REC *current_theme = NULL;
GHashTable *default_formats = NULL;
static int init_finished;
static char *init_errors;