aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/shared.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
committerChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
commit0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch)
treebddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/shared.cc
parentdee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff)
downloadnewlib-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.zip
newlib-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.gz
newlib-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.bz2
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r--winsup/cygwin/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc
index b1b4dc4..fd20766 100644
--- a/winsup/cygwin/shared.cc
+++ b/winsup/cygwin/shared.cc
@@ -86,7 +86,7 @@ open_shared (const char *name, int n, HANDLE& shared_h, DWORD size,
else
{
addr = offsets[m];
- (void) VirtualFree (addr, 0, MEM_RELEASE);
+ VirtualFree (addr, 0, MEM_RELEASE);
}
if (shared_h)