The loop is broken in both if branches above, so it could never reach this line -> remove it.
Signed-off-by: Jan Safranek <jsafr...@redhat.com> --- src/api.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/api.c b/src/api.c index d68a4c8..52d6fe7 100644 --- a/src/api.c +++ b/src/api.c @@ -3634,7 +3634,6 @@ static int cg_get_procname_from_proc_cmdline(pid_t pid, ret = 0; break; } - len = 0; } fclose(f); return ret; ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel