소스 검색

rwops: Removed unused variable in Windows-specific code.

Ryan C. Gordon 3 년 전
부모
커밋
4075748e41
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/file/SDL_rwops.c

+ 0 - 1
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");