mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
rtp: fix use of possible uninitialized variable
This commit is contained in:
parent
55548857ac
commit
d5f022986d
1 changed files with 2 additions and 1 deletions
|
@ -340,7 +340,8 @@ int rtp_start(struct node *n)
|
|||
throttle_hook_type = hook_type_lookup("limit_rate");
|
||||
break;
|
||||
|
||||
default: { }
|
||||
default:
|
||||
throttle_hook_type = NULL;
|
||||
}
|
||||
|
||||
if (!throttle_hook_type)
|
||||
|
|
Loading…
Add table
Reference in a new issue