|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 6/7] hw/isa: Assert isa_register_portio_list() gets non-NULL ISA device |
Date: | Wed, 15 Feb 2023 08:12:08 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 |
On 14/2/23 19:49, Richard Henderson wrote:
On 2/14/23 00:18, Philippe Mathieu-Daudé wrote:__attribute__((nonnull)) void a1(void *ptr) { // can no use assert(ptr) because compiler warning }I briefly glossed over that...I realize we'd probably want to add -fno-delete-null-pointer-checks if we make too much... here. The compiler warning should go away with the right flag.
Doh, got it now!
[Prev in Thread] | Current Thread | [Next in Thread] |