summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2006-12-26 20:45:06 +0000
committerMartin Schröder <martin@oneiros.de>2006-12-26 20:45:06 +0000
commit4ac73eae34657de2c867613d97ba5e5b69c8fbe7 (patch)
treee40dfcaa52cedaf74f931f0ff14da6e86e68735e
parent452affb9396acbaa387e62361e294b7059ab4cec (diff)
remove warnings by -Wall -std=c99
git-svn-id: svn://tug.org/texlive/trunk@2934 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/pathsearch.c3
-rw-r--r--Build/source/texk/kpathsea/xputenv.c2
2 files changed, 3 insertions, 2 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) {
diff --git a/Build/source/texk/kpathsea/xputenv.c b/Build/source/texk/kpathsea/xputenv.c
index 34d0e1d0730..bc0e294de15 100644
--- a/Build/source/texk/kpathsea/xputenv.c
+++ b/Build/source/texk/kpathsea/xputenv.c
@@ -1,4 +1,4 @@
-/* xputenv.c: set an environment variable without return.
+// xputenv.c: set an environment variable without return.
/*
* Copyright 2003-05 Olaf Weber.