diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-11-11 15:51:07 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-11-20 09:07:08 -0500 |
commit | 28c2b06a0477d2c84b7229d4e54056b1ec44ac36 (patch) | |
tree | a5c0fc070b6759ca82fe3b37d1b06451384a02be /src | |
parent | 77eb05629afe2f551bf29a390112e37358d1b36a (diff) | |
download | bfs-28c2b06a0477d2c84b7229d4e54056b1ec44ac36.tar.xz |
color: Squelch a -Wmaybe-uninitialized warning on non-LTO builds
Diffstat (limited to 'src')
-rw-r--r-- | src/color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.c b/src/color.c index e7f0973..fdaf2eb 100644 --- a/src/color.c +++ b/src/color.c @@ -975,7 +975,7 @@ static const struct esc_seq *file_color(const struct colors *colors, const struc goto error; } - const struct bfs_stat *statbuf; + const struct bfs_stat *statbuf = NULL; const struct esc_seq *color = NULL; switch (type) { |