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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Without further information, one use of such a statement is to prevent an unused parameter compiler warning if
rxStructis passed in as a parameter and then otherwise not used.