You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Removed unnecessary assignments
This commit is contained in:
@@ -1406,11 +1406,10 @@ Error _File::open_encrypted_pass(const String &p_path, int p_mode_flags, const S
|
||||
Error _File::open_compressed(const String &p_path, int p_mode_flags, int p_compress_mode) {
|
||||
|
||||
FileAccessCompressed *fac = memnew(FileAccessCompressed);
|
||||
Error err = OK;
|
||||
|
||||
fac->configure("GCPF", (Compression::Mode)p_compress_mode);
|
||||
|
||||
err = fac->_open(p_path, p_mode_flags);
|
||||
Error err = fac->_open(p_path, p_mode_flags);
|
||||
|
||||
if (err) {
|
||||
memdelete(fac);
|
||||
|
||||
Reference in New Issue
Block a user