]> git.puffer.fish Git - mirror/frr.git/commit
lib: use assume() for SA fixing, add explainer 11540/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 6 Jul 2022 08:48:56 +0000 (10:48 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 6 Jul 2022 08:48:56 +0000 (10:48 +0200)
commit255a76a56a154b1f26e3971aeb3f6111ce9a84a7
treec83614f22712861c771f28cedd0938411ea98379
parent5adddad38f7716d7d118204b3ac39f5b18040305
lib: use assume() for SA fixing, add explainer

Literally 4 minutes after hitting merge on Mark's previous fix for this
I remembered we have an `assume()` macro in compiler.h which seems like
the right tool for this.

(... and if I'm touching it, I might as well add a little text
explaining what's going on here.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/typesafe.h