don't deref pointer before test it is safe
authorjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 23:20:46 +0000 (23:20 +0000)
committerjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 23:20:46 +0000 (23:20 +0000)
commitfc5790bacc0b4f692632b946fb6d6efdef771681
tree23f46cfec8b5b541f974f19abb5e16e417132dd8
parent89c85dc44a47df801e75a4269c0f81b3a499244b
don't deref pointer before test it is safe
ok miod@
sys/arch/hppa/dev/mongoose.c
sys/arch/macppc/dev/openpic.c