diff options
Diffstat (limited to 'src/libsystemd-dhcp/test-dhcp-option.c')
-rw-r--r-- | src/libsystemd-dhcp/test-dhcp-option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-dhcp/test-dhcp-option.c b/src/libsystemd-dhcp/test-dhcp-option.c index e2a680064c..ac0b0a435a 100644 --- a/src/libsystemd-dhcp/test-dhcp-option.c +++ b/src/libsystemd-dhcp/test-dhcp-option.c @@ -198,6 +198,7 @@ static int test_options_cb(uint8_t code, uint8_t len, const uint8_t *option, *descpos = -1; } + assert(descpos); assert(*descpos != -1); optcode = descoption[*descpos]; |