Skip to content
Snippets Groups Projects
Commit a5fb9691 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix GCC warning: ‘fptr’ may be used uninitialized in this function

This does look like a false positive to me: the if clauses that use fptr appear
to only cover the same values as the switch-case statements. But harmless
defensive change here.
parent b486b80f
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -216,7 +216,7 @@ term_setattr(int attr)
static void
readInPix(char codeCh, int ooii_mode)
{
int fptr;
int fptr = 0;
term_clearscreen();
term_gotoxy(1, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment