summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-09-10 14:15:34 -0400
committerRay Strode <rstrode@redhat.com>2012-09-10 14:15:34 -0400
commit287ae0ca049dc312eb0c70b24d44f0f57dbf52f1 (patch)
treede02b32893e7d179d3f0f40b58848dc6b7acc05b /src/util.c
parent213aab5d984d05d09d0fbba3a76f85ed8e19a900 (diff)
downloadaccountsservice-287ae0ca049dc312eb0c70b24d44f0f57dbf52f1.tar.gz
util: Fix an uninitialized variable
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index adc559a..4214e57 100644
--- a/src/util.c
+++ b/src/util.c
@@ -37,7 +37,7 @@
static gchar *
get_cmdline_of_pid (GPid pid)
{
- gchar *ret;
+ gchar *ret = NULL;
gchar *filename;
gchar *contents;
gsize contents_len;