From a1486012d2b92bd1472b3b33e90a237fccd12576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Wennerstr=C3=B6m?= Date: Wed, 9 Dec 2020 19:37:35 +0100 Subject: [PATCH] Fix build failure (unused variable) --- src/command/cmd_funcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index cf826fe5..2397ccfc 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -4922,8 +4922,8 @@ cmd_sendfile(ProfWin* window, const char* const command, gchar** args) goto out; } -#ifdef HAVE_OMEMO if (omemo_enabled) { +#ifdef HAVE_OMEMO char* err = NULL; alt_scheme = OMEMO_AESGCM_URL_SCHEME; alt_fragment = _add_omemo_stream(&fd, &fh, &err); @@ -4932,8 +4932,8 @@ cmd_sendfile(ProfWin* window, const char* const command, gchar** args) win_println(window, THEME_ERROR, "-", err); goto out; } - } #endif + } HTTPUpload* upload = malloc(sizeof(HTTPUpload)); upload->window = window;