Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: int a = a Date: Tue, 29 Apr 2025 13:34:11 -0700 Organization: None to speak of Lines: 27 Message-ID: <87plguzozg.fsf@nosuchdomain.example.com> References: <87sen8u5d5.fsf@nosuchdomain.example.com> <86zfhgni2a.fsf@linuxsc.com> <87cyect356.fsf@nosuchdomain.example.com> <86bjse917i.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 29 Apr 2025 22:34:14 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fe38c222d83042bf4ca55271f90f83ec"; logging-data="2650398"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oQg2M+VsRldvbVKtJb07I" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:Q/hPnMs3LVHJ+3HLBUnSeg3lJUk= sha1:rcnjzyoWXhbiUKBy71+RRk7Y62Y= Xref: csiph.com comp.lang.c:393054 Tim Rentsch writes: > Keith Thompson writes: >> Tim Rentsch writes: >>> Keith Thompson writes: >>> [how to indicate a variable not being used is okay] >>> [some quoted text rearranged] >>> >>>> Unless I'm missing something, `(void)x` also has undefined beahvior >>>> if x is uninitialized, >>> >>> Right. Using (void)&x is better. >> >> I'm not convinced -- and it's far less idiomatic. > > Both phrases are idiomatic. What you mean is one phrase is more > common than the other. More common doesn't mean better. Recall > Dijkstra's dictum, not to conclude that something is more convenient > just because it's more conventional. [...] Just so you're aware, I've read your post and I have nothing more to say about it. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */