rwops: Removed unused variable in Windows-specific code.

This commit is contained in:
Ryan C. Gordon 2022-12-15 00:09:12 -05:00
parent e35730ac54
commit 4075748e41
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -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");