[Xfce4-commits] [apps/xfce4-taskmanager] 04/05: declarations at the beginning of functions (ISO C90 forbids mixed declarations and code)

noreply at xfce.org noreply at xfce.org
Mon May 28 21:16:50 CEST 2018


This is an automated email from the git hooks/post-receive script.

l   a   n   d   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-taskmanager.

commit c507f13d86647410fa7beac383efc22fe674a83b
Author: Landry Breuil <landry at xfce.org>
Date:   Mon May 28 21:06:39 2018 +0200

    declarations at the beginning of functions (ISO C90 forbids mixed declarations and code)
---
 src/task-manager.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/task-manager.c b/src/task-manager.c
index 1a005ed..78fa825 100644
--- a/src/task-manager.c
+++ b/src/task-manager.c
@@ -393,7 +393,7 @@ xtm_task_manager_update_model (XtmTaskManager *manager)
 	GArray *array;
 	guint i;
 	GtkTreeIter iter;
-	gboolean valid;
+	gboolean valid, need_update, update_cmd_line;
 	glong timestamp;
 
 	g_return_if_fail (XTM_IS_TASK_MANAGER (manager));
@@ -444,8 +444,8 @@ xtm_task_manager_update_model (XtmTaskManager *manager)
 		}
 
 		/* Task alive, check for update. */
-		gboolean need_update = FALSE;
-		gboolean update_cmd_line = FALSE;
+		need_update = FALSE;
+		update_cmd_line = FALSE;
 
 		/* Update the model (with the rest) only if needed, this keeps the CPU cool */
 		if (model_update_forced || 0 != memcmp(task, task_new, sizeof(Task)))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list