Skip to content

Commit

Permalink
Merge pull request #82191 from dsnopek/gdextension-redundant-hash-check
Browse files Browse the repository at this point in the history
GDExtension: Remove redundant method bind hash check
  • Loading branch information
akien-mga committed Sep 24, 2023
2 parents 9e011c3 + 0967fe6 commit d8c3115
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/extension/gdextension_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,10 +1341,6 @@ static GDExtensionMethodBindPtr gdextension_classdb_get_method_bind(GDExtensionC
return nullptr;
}
ERR_FAIL_NULL_V(mb, nullptr);
if (mb->get_hash() != p_hash) {
ERR_PRINT("Hash mismatch for method '" + classname + "." + methodname + "'.");
return nullptr;
}
return (GDExtensionMethodBindPtr)mb;
}

Expand Down

0 comments on commit d8c3115

Please sign in to comment.