diff --git a/src/filesystem.cpp b/src/filesystem.cpp
index d1dbbf7..7de9138 100644
--- a/src/filesystem.cpp
+++ b/src/filesystem.cpp
@@ -576,8 +576,6 @@ static int SDL_RWopsClose(SDL_RWops *ops)
 
 	int result = PHYSFS_close(f);
 
-	f = 0;
-
 	return (result != 0) ? 0 : -1;
 }