diff options
author | William Wennerström <william@wstrm.dev> | 2020-12-09 19:37:35 +0100 |
---|---|---|
committer | William Wennerström <william@wstrm.dev> | 2020-12-09 19:37:35 +0100 |
commit | a1486012d2b92bd1472b3b33e90a237fccd12576 (patch) | |
tree | 3466d1ca99b27d6bbf33a0edad92dd971412ebea /src | |
parent | 073412b8454e95efbf3ff4cee13634130986104e (diff) | |
download | profani-tty-a1486012d2b92bd1472b3b33e90a237fccd12576.tar.gz |
Fix build failure (unused variable)
Diffstat (limited to 'src')
-rw-r--r-- | src/command/cmd_funcs.c | 4 |
1 files 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; |