talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 10d7193abc58f31534e88e680081967469f755f2
parent 23b79443f5cdc0c35334a36680c85049b2504103
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Sun, 12 Sep 2021 23:56:56 -0700

Fix -Wunused-variable warnings

Diffstat:
Msrc/compose.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -9628,14 +9628,14 @@ static gboolean compose_can_autosave(Compose *compose) static void compose_exec_ext_editor(Compose *compose) { gchar *tmp; - GtkWidget *socket; #ifndef G_OS_WIN32 + GtkWidget *socket; GdkNativeWindow socket_wid = 0; + gchar *p, *s; #endif /* G_OS_WIN32 */ GPid pid; GError *error = NULL; gchar *cmd; - gchar *p, *s; gchar **argv; tmp = g_strdup_printf("%s%ctmpmsg.%p", get_tmp_dir(), @@ -9806,7 +9806,6 @@ static gboolean compose_get_ext_editor_cmd_valid() static gboolean compose_ext_editor_kill(Compose *compose) { GPid pid = compose->exteditor_pid; - gint ret; if (pid > 0) { AlertValue val;