You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
@@ -144,7 +144,7 @@ void ScriptServer::register_language(ScriptLanguage *p_language) {
|
||||
_languages[_language_count++] = p_language;
|
||||
}
|
||||
|
||||
void ScriptServer::unregister_language(ScriptLanguage *p_language) {
|
||||
void ScriptServer::unregister_language(const ScriptLanguage *p_language) {
|
||||
for (int i = 0; i < _language_count; i++) {
|
||||
if (_languages[i] == p_language) {
|
||||
_language_count--;
|
||||
|
||||
Reference in New Issue
Block a user