diff --git a/sflphone-gtk/src/accountwindow.c b/sflphone-gtk/src/accountwindow.c
index be64d2eaa188c19c72b534765f30a8ee7115cfa9..ce1a8d3e9368ea8db33fb1ea3fc7e3ebd83e9218 100644
--- a/sflphone-gtk/src/accountwindow.c
+++ b/sflphone-gtk/src/accountwindow.c
@@ -82,7 +82,6 @@ show_account_window (account_t * a)
 
   // Current settings
   gchar * curAccountType = NULL;
-  gchar * curProtocol = NULL;
   gchar * curUserPart = NULL;
   gchar * curHostPart = NULL;
   gchar * curPassword = NULL;