mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
parent
72407a9cfb
commit
f851c4aa33
163 changed files with 776 additions and 767 deletions
|
|
@ -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--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue