diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-12-04 20:33:44 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-12-04 21:28:19 -0500 |
| commit | 2ad7c8ecb732c6a22b8a950ac27be28b3f51c720 (patch) | |
| tree | 3a37274d91109347de876ab967fb641be44c1007 /lib/workqueue.c | |
| parent | edb1d4a09acdf27c04ce27adf1b06e4faa86454a (diff) | |
bgpd: Reorder assignment and assertion.
If we ever turn off assertion for production builds
this code as written will cause a crash in that
the assignment will not happen.
Modify the code such that this erroneous assumption
cannot happen.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions
