summaryrefslogtreecommitdiffstats
path: root/sysutils/consolekit/files/patch-src_ck-sysdeps-freebsd.c
blob: 83f6b76e5b4e57d4e760c5f469ed202cdff9702d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/ck-sysdeps-freebsd.c.orig   2007-11-08 15:14:35.000000000 -0500
+++ src/ck-sysdeps-freebsd.c    2007-11-08 15:14:45.000000000 -0500
@@ -202,7 +202,6 @@ ck_process_stat_new_for_unix_pid (pid_t 
                                   GError        **error)
 {
         gboolean       res;
-        GError        *local_error;
         CkProcessStat *proc;
 
         g_return_val_if_fail (pid > 1, FALSE);
@@ -217,7 +216,6 @@ ck_process_stat_new_for_unix_pid (pid_t 
         if (res) {
                 *stat = proc;
         } else {
-                g_propagate_error (error, local_error);
                 *stat = NULL;
         }