Op 23 jan. 2020, om 15:58 heeft Petr Štetiar <yn...@true.cz> het volgende geschreven: > > On January 23, 2020 1:04:16 PM UTC, Paul Oranje <p...@oranjevos.nl> wrote: > >> Suggestion: log of this unexpected condition or even stronger, an >> assert(). > > All logging is killed already, logging just to serial console won't cut it, > assert is overkill, which needs compiler flags/ifdef fiddling and who knows > how that would behave in different environments. Okay, did not think about the impact of this stdclib call.
> I could split it into separate functions if that implicit return would be > more acceptable for you. It just seems overkill to me, just to make both of > us satisfied :-) Right, it's not really worth the trouble, it's just kind of aesthetic thing. > >> Decorating perform_halt() with the _Noreturn function specifier might > > Ok, I like this one. > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel