1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fix build failure (unused variable)

This commit is contained in:
William Wennerström 2020-12-09 19:37:35 +01:00
parent 073412b845
commit a1486012d2
No known key found for this signature in database
GPG Key ID: E1382990BEDD319B

View File

@ -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;