diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index a1cacc86c..8122939b6 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -124,18 +124,6 @@ extern "C" #endif }; -#ifdef DEBUGGING -void __stdcall -envvar () -{ - const char *s = "PATH"; - char buf[4096]; - Sleep (500); - small_printf ("%d = GetEnvironmentVariable (\"%s\")\n", GetEnvironmentVariable (s, buf, sizeof buf), s); - small_printf ("value = '%s'\n", buf); -} -#endif - char *old_title; char title_buf[TITLESIZE + 1]; diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc index f9205f413..7dea7ea69 100644 --- a/winsup/cygwin/timer.cc +++ b/winsup/cygwin/timer.cc @@ -74,7 +74,6 @@ timer_tracker::cancel () SetEvent (hcancel); if (WaitForSingleObject (syncthread, INFINITE) != WAIT_OBJECT_0) api_fatal ("WFSO failed waiting for timer thread, %E"); - debug_printf ("cancelled"); return true; }