1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-06 20:03:46 -04:00

profanity.c: move var into function

This commit is contained in:
Michael Vetter 2021-03-16 14:41:52 +01:00
parent 0044da01ee
commit 5d2037aa0c

View File

@ -91,12 +91,13 @@ static void _shutdown(void);
static void _connect_default(const char* const account);
pthread_mutex_t lock;
static gboolean cont = TRUE;
static gboolean force_quit = FALSE;
void
prof_run(char* log_level, char* account_name, char* config_file, char* log_file, char* theme_name)
{
gboolean cont = TRUE;
_init(log_level, config_file, log_file, theme_name);
plugins_on_start();
_connect_default(account_name);