[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Uninitialized variable: start_time
noreply at xfce.org
noreply at xfce.org
Mon Apr 28 17:35:02 CEST 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 3387f3fe0abfb454b5d3596203a790048cd8f943
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Apr 28 18:32:48 2014 +0300
Uninitialized variable: start_time
---
src/xfpm-polkit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xfpm-polkit.c b/src/xfpm-polkit.c
index ccc4233..221c2d8 100644
--- a/src/xfpm-polkit.c
+++ b/src/xfpm-polkit.c
@@ -116,7 +116,7 @@ get_kinfo_proc (pid_t pid, struct kinfo_proc *p)
static guint64
get_start_time_for_pid (pid_t pid)
{
- guint64 start_time;
+ guint64 start_time = 0;
#if defined(__linux)
gchar *filename;
gchar *contents;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list