mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
fixed the unneeded return
statement warnings. (#31863)
This commit is contained in:
parent
f7669b5238
commit
d814d05539
15 changed files with 33 additions and 33 deletions
|
@ -1090,7 +1090,7 @@ impl GlobalScope {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
return warn!("start_message_port called on a global not managing any ports.");
|
||||
warn!("start_message_port called on a global not managing any ports.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1111,7 +1111,7 @@ impl GlobalScope {
|
|||
},
|
||||
};
|
||||
} else {
|
||||
return warn!("close_message_port called on a global not managing any ports.");
|
||||
warn!("close_message_port called on a global not managing any ports.")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue