libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 1968875f0e3c1b8d70a2b5365ac5e258c5189281
parent 015479753742a84e2cc4c38e8f1451877f63bd3d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 21 Dec 2009 11:51:54 +0000

cleanup

Diffstat:
Msrc/main/extractor.c | 16++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -432,16 +432,12 @@ get_installation_paths (PathProcessor pp, pp (pp_cls, PLUGININSTDIR); if (prefix == NULL) return; - if (prefix != NULL) - { - path = append_to_dir (prefix, PLUGINDIR); - if (0 != strcmp (path, - PLUGININSTDIR)) - pp (pp_cls, path); - free (path); - free (prefix); - return; - } + path = append_to_dir (prefix, PLUGINDIR); + if (0 != strcmp (path, + PLUGININSTDIR)) + pp (pp_cls, path); + free (path); + free (prefix); }