[Commits] [SCM] claws branch, master, updated. 3.14.1-217-ge4f6b0b

mones at claws-mail.org mones at claws-mail.org
Sat Mar 4 12:46:38 CET 2017


The branch, master has been updated
       via  e4f6b0b3060bbba7c89cca0280397bb68b44af3e (commit)
      from  8d14c43a29b4d51bfd36cda6ac9e023d4bc87f9e (commit)

Summary of changes:
 src/main.c |    4 ++++
 1 file changed, 4 insertions(+)


- Log -----------------------------------------------------------------
commit e4f6b0b3060bbba7c89cca0280397bb68b44af3e
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Mar 4 12:46:21 2017 +0100

    Declare and use only when needed

diff --git a/src/main.c b/src/main.c
index a38cbd8..48fe0d9f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -158,7 +158,9 @@ static DBusGProxy *awn_proxy = NULL;
 #endif
 
 gchar *prog_version;
+#ifdef HAVE_LIBSM
 gchar *argv0;
+#endif
 
 #ifdef HAVE_STARTUP_NOTIFICATION
 static SnLauncheeContext *sn_context = NULL;
@@ -997,7 +999,9 @@ int main(int argc, char *argv[])
 	}
 
 	prog_version = PROG_VERSION;
+#ifdef HAVE_LIBSM
 	argv0 = g_strdup(argv[0]);
+#endif
 
 	parse_cmd_opt(argc, argv);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list