diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-08-26 10:23:12 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-08-27 22:23:39 +0300 |
| commit | 7000f344b30b9a2e3906a661e8a70df2d374eca1 (patch) | |
| tree | 859257a692e14ea9de0b645ae15caf040e520320 /lib/module.c | |
| parent | 407ffd2f6228ac618212e8a78a60645680ebf571 (diff) | |
bgpd: fix labels static-analyser
Fix static-analyser warnings with BGP labels:
> $ scan-build make -j12
> bgpd/bgp_updgrp_packet.c:819:10: warning: Access to field 'extra' results in a dereference of a null pointer (loaded from variable 'path') [core.NullDereference]
> ? &path->extra->labels->label[0]
> ^~~~~~~~~
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/module.c')
0 files changed, 0 insertions, 0 deletions
