From 0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 6 Jul 2005 20:05:03 +0000 Subject: Eliminate (void) cast on standalone function calls throughout. --- winsup/cygwin/fhandler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/fhandler.cc') diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index b619b28b3..e5e14fc92 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -230,14 +230,14 @@ fhandler_base::raw_read (void *ptr, size_t& ulen) { h = GetCurrentThread (); prio = GetThreadPriority (h); - (void) SetThreadPriority (h, THREAD_PRIORITY_TIME_CRITICAL); + SetThreadPriority (h, THREAD_PRIORITY_TIME_CRITICAL); signal_read_state (1); } BOOL res = ReadFile (get_handle (), ptr, len, (DWORD *) &ulen, 0); if (read_state) { signal_read_state (1); - (void) SetThreadPriority (h, prio); + SetThreadPriority (h, prio); } if (!res) { -- cgit v1.2.3