diff options
author | Martin Schröder <martin@oneiros.de> | 2006-12-26 20:45:06 +0000 |
---|---|---|
committer | Martin Schröder <martin@oneiros.de> | 2006-12-26 20:45:06 +0000 |
commit | 4ac73eae34657de2c867613d97ba5e5b69c8fbe7 (patch) | |
tree | e40dfcaa52cedaf74f931f0ff14da6e86e68735e /Build/source/texk/kpathsea/pathsearch.c | |
parent | 452affb9396acbaa387e62361e294b7059ab4cec (diff) |
remove warnings by -Wall -std=c99
git-svn-id: svn://tug.org/texlive/trunk@2934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/pathsearch.c')
-rw-r--r-- | Build/source/texk/kpathsea/pathsearch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/pathsearch.c b/Build/source/texk/kpathsea/pathsearch.c index 90d21945556..e3b3fc14885 100644 --- a/Build/source/texk/kpathsea/pathsearch.c +++ b/Build/source/texk/kpathsea/pathsearch.c @@ -288,13 +288,14 @@ path_search P4C(const_string, path, string, name, } /* Did we find anything anywhere? */ - if (found && STR_LIST (*found)) + if (found && STR_LIST (*found)) { if (all) str_list_concat (&ret_list, *found); else { str_list_add (&ret_list, STR_LIST_ELT (*found, 0)); done = true; } + } /* Free the list space, if any (but not the elements). */ if (found) { |