As Cody said, these warnings pop up when you have declared a variable or appear to have started defining a function but never used that variable or function later on in your program.
If you still want to keep those words in your program as a place holder, you can simply comment them out.
It just means that robot C is saying “Umm what is this is doesn’t do anything yet please use it or get rid of it.” Sometimes it will do it if it auto added in something like a semi colon. No big deal.
Alright that makes sense, I guess I already knew what commenting was, but I have lots of comments all over my program, (in autonomous and user control) but the warnings are still there. I have all my comments in the // or /* … */.
By “commenting out” the parts of your code that are giving you problems, this is what I was talking about:
// UserControlCodePlaceholderForTesting
// ...any other lines of code that might be part of this place holder.
//AutonomousCodePlaceholderForTesting
// ...any other lines of code that might be part of this place holder.
After commenting them out, your “words” (AutonomousCodePlaceholderForTesting, etc.) would now remain in your program as comments to help remind you of what you will write there later, but the RobotC compiler will no longer see those words and think you made some sort of mistake. What these warnings are trying to tell you is that you appear to have created some kind of functions in your code, but you’re not using them anywhere later on in your program. By “commenting out” that section of code, you are preventing the compiler from seeing those functions, freaking out and issuing you a warning.
I have been avoiding using block comments /* and / because my kids’ version of RobotC (3.62??) )would sometimes connect two unrelated pairs of / and */ and comment out huge sections of code. So I tell them to use // just to be safe. It’s a killer, however, during debugging.