Updating .ino onto Teensy

I’m putting the new .ino’s ( from here ) on to a teensy 4.1 and am getting this message from Arduino 1.8.19:

Autosteer_gps_teensy_v5_5: In function ‘void loop()’:
Autosteer_gps_teensy_v5_5:368: warning: variable ‘res’ set but not used
uint8_t res[100];
Autosteer_gps_teensy_v5_5:371: warning: unused variable ‘mon_ver’
byte mon_ver[] = {0xB5, 0x62, 0x0A, 0x04, 0x00, 0x00, 0x0E, 0x34};
Memory Usage on Teensy 4.1:
FLASH: code:238928, data:78300, headers:8884 free for files:7800352
RAM1: variables:34308, code:101480, padding:29592 free for local variables:358908
RAM2: variables:12416 free for malloc/new:511872

Is this the message I should be getting? I put the entire contents on the Teensy. It’s not connected to a board, just directly to the computer. Is there a way to see what contents are currently on a Teensy?

Thanks for any help.

Those are the extra warnings, which you can turn off.

Thanks. I’ll go ahead with it then.

Wouldn’t be a bad idea to remove those unused variables from the code, this question comes up a fair bit and it can get concerning.

How much of the code would I delete to remove each variable without messing up the rest?

By the looks of it, the reference to res on line 368 and mon_ver on 371. These should probably be removed anyway if unused so as not to confuse people.

is this a good spot to inquire wheather the red line code i got while loading code into teensy is a neessary caution?

Looks like it is just a warning. But the thing is if you are able to upload the code then it is all good. Everything else is just warnings that you can simply ignore.