It may not be clear from the title. I came across the following code in an embedded STM32 project. I don't understand the line inside the function.
static void txend1(UARTDriver *uartp) {
(void)uartp; // what does this do? Is it a statement?
}
I've tried searching elsewhere online, but most results are casting pointers to void pointers, which I don't think this is. Thanks for the help!