This patch removes line in cg_get_procname_from_proc_cmdline which can't be 
reached.

Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
---

 src/api.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/api.c b/src/api.c
index d8bfd93..fba28f6 100644
--- a/src/api.c
+++ b/src/api.c
@@ -3628,7 +3628,6 @@ static int cg_get_procname_from_proc_cmdline(pid_t pid,
                        ret = 0;
                        break;
                }
-               len = 0;
        }
        fclose(f);
        return ret;


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to