[Bug c/87489] Spurious -Wnonnull warning

2018-10-02 Thread andres at anarazel dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87489 --- Comment #2 from Andres Freund --- Maybe (In reply to Jonathan Wakely from comment #1) > The first XLogRegisterData could change the value of xl_xinfo.xid to be > non-zero, in which case the second XLogRegisterData call would happen > despite

[Bug c/87489] Spurious -Wnonnull warning

2018-10-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87489 --- Comment #1 from Jonathan Wakely --- The first XLogRegisterData could change the value of xl_xinfo.xid to be non-zero, in which case the second XLogRegisterData call would happen despite the null string.