From 4075748e41bee51352eb728e1341f22706e39a62 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 15 Dec 2022 00:09:12 -0500 Subject: [PATCH] rwops: Removed unused variable in Windows-specific code. --- src/file/SDL_rwops.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c index 207e30cd34..1850f982a9 100644 --- a/src/file/SDL_rwops.c +++ b/src/file/SDL_rwops.c @@ -238,7 +238,6 @@ windows_file_write(SDL_RWops *context, const void *ptr, Sint64 size) { const size_t total_bytes = (size_t) size; DWORD byte_written; - size_t nwritten; if (context == NULL || context->hidden.windowsio.h == INVALID_HANDLE_VALUE) { return SDL_SetError("Invalid file handle");