I am currently working on a embedded C project and I "inherited" some old code containing statements such as:
rxStruct = rxStruct;
where rxStruct is a variable.
What could be the use of such statements?
Without further information, one use of such a statement is to prevent an unused parameter compiler warning if rxStruct
is passed in as a parameter and then otherwise not used.