[neomutt-devel] [neomutt] a compile warning

shane.qian shane.qian at live.com
Sat Dec 27 10:54:46 CET 2025


Hi,
	the latest src code looks had a compile warning, FYI:
	// once that `while` loop became false in case, then rc maybe uninitialized

```

color/commands.c: In function ‘parse_uncolor’:
color/commands.c:475:10: warning: ‘rc’ may be used uninitialized [-Wmaybe-uninitialized]
  475 |   return rc;
      |          ^~
color/commands.c:470:22: note: ‘rc’ was declared here
  470 |   enum CommandResult rc = parse_uncolor_command(cmd, line, err);
      |                      ^~

```

-- 
shane.xb.qian


More information about the neomutt-devel mailing list