[Xfce4-commits] [apps/xfce4-taskmanager] 02/03: uninitialized variable; cppcheck

noreply at xfce.org noreply at xfce.org
Sun Nov 30 21:48:36 CET 2014


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

landry pushed a commit to branch master
in repository apps/xfce4-taskmanager.

commit 7c67014733ce8e89e938245fe860621635993a40
Author: Landry Breuil <landry at xfce.org>
Date:   Sun Nov 30 21:48:21 2014 +0100

    uninitialized variable; cppcheck
---
 src/task-manager-skel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/task-manager-skel.c b/src/task-manager-skel.c
index ca201db..d9d1ad5 100644
--- a/src/task-manager-skel.c
+++ b/src/task-manager-skel.c
@@ -60,7 +60,7 @@ get_task_details (guint pid, Task *task)
 gboolean
 get_task_list (GArray *task_list)
 {
-	guint pid;
+	guint pid = 0;
 	Task task = { 0 };
 
 	//while (/* read all PIDs */)

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


More information about the Xfce4-commits mailing list