[newlib-cygwin/main] Cygwin:testsuite: winchild: drop unused variable
Corinna Vinschen
corinna@sourceware.org
Mon Jul 14 11:44:38 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=771870a9f814ac6348ff2051a5c9754bdab104f9
commit 771870a9f814ac6348ff2051a5c9754bdab104f9
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Mon Jul 14 13:44:17 2025 +0200
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Mon Jul 14 13:44:17 2025 +0200
Cygwin:testsuite: winchild: drop unused variable
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/testsuite/winsup.api/posix_spawn/winchild.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/winsup/testsuite/winsup.api/posix_spawn/winchild.c b/winsup/testsuite/winsup.api/posix_spawn/winchild.c
index 43fd35c58ae0..e41043da1899 100644
--- a/winsup/testsuite/winsup.api/posix_spawn/winchild.c
+++ b/winsup/testsuite/winsup.api/posix_spawn/winchild.c
@@ -85,7 +85,6 @@ int wmain (int argc, wchar_t **argv)
FILE_NAME_OPENED|VOLUME_NAME_DOS))
{
POBJECT_NAME_INFORMATION pinfo = (POBJECT_NAME_INFORMATION) buf;
- DWORD err = GetLastError ();
ULONG len;
NTSTATUS status = NtQueryObject (stdhandle, ObjectNameInformation,
pinfo, 65536, &len);
More information about the Cygwin-cvs
mailing list