mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 16:50:16 +01:00
ppp: drop unnecessary cast for return value of g_object_new() (manually)
This commit is contained in:
parent
a2b5e22f82
commit
ab3f18b906
1 changed files with 1 additions and 2 deletions
|
|
@ -1302,8 +1302,7 @@ _ppp_manager_new(const char *iface)
|
|||
{
|
||||
g_return_val_if_fail(iface != NULL, NULL);
|
||||
|
||||
return (
|
||||
NMPPPManager *) g_object_new(NM_TYPE_PPP_MANAGER, NM_PPP_MANAGER_PARENT_IFACE, iface, NULL);
|
||||
return g_object_new(NM_TYPE_PPP_MANAGER, NM_PPP_MANAGER_PARENT_IFACE, iface, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue