# \[PATCH 0/2\] squelch some "gcc -O3 -Wmaybe-uninitialized" warnings

- From: Jeff King \<hidden\>
- Date: 2016-08-31 03:39:44 
- List: git
- Page: https://ratatoskr.run/git/2016/08/7694737
- Thread: https://ratatoskr.run/git/2016/08/7694737/t.md

```text
I happened to be compiling git with -O3 today, and noticed we generate
some warnings about uninitialized variables (I actually compile with
-Wall, but the only false positives I saw were these).

Here are patches to squelch them.

  [1/2]: error_errno: use constant return similar to error()
  [2/2]: color_parse_mem: initialize "struct color" temporary

-Peff
```
