In C and C++, I used to use `(void) foo()` (that’s...
# announcements
c
In C and C++, I used to use
(void) foo()
(that’s a function call) to remind myself there’s a return value and I’m ignoring it. Of course, it was a totally personal convention so not very useful to catch errors. I wonder if
kotlinc
should issue a warning that a returned value is being ignored or if that would be too much