* environ.cc (build_env): Remove loquacious debug statements.

This commit is contained in:
Corinna Vinschen 2014-12-06 09:54:28 +00:00
parent 5acd9c007f
commit 03ff627e16
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-12-05 Corinna Vinschen <corinna@vinschen.de>
* environ.cc (build_env): Remove loquacious debug statements.
2014-12-05 Yaakov Selkowitz <yselkowitz@cygwin.com>
* common.din (__bsd_qsort_r): Add.

View File

@ -1123,7 +1123,6 @@ build_env (const char * const *envp, PWCHAR &envblock, int &envc,
sizeof *winenv, env_compare);
if (elem)
{
system_printf ("remove: %s", *elem);
free (*elem);
/* Use memmove to keep array sorted.
winnum - (elem - winenv) copies all elements following
@ -1193,7 +1192,6 @@ build_env (const char * const *envp, PWCHAR &envblock, int &envc,
sizeof *winenv, env_compare);
if (elem)
{
system_printf ("remove: %s", *elem);
free (*elem);
memmove (elem, elem + 1,
(winnum - (elem - winenv)) * sizeof *elem);