From: Bruno Haible Date: Fri, 2 Jun 2023 23:25:21 +0000 (+0200) Subject: libtextstyle: Silence a "missing initializer for field" warning. X-Git-Tag: v0.22~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21344b6d998b7dbb9c0d36d0bde1400be4150e94;p=thirdparty%2Fgettext.git libtextstyle: Silence a "missing initializer for field" warning. * libtextstyle/lib/color.c (print_color_test): Fill the r, g, b values of all colors[] elements. --- diff --git a/libtextstyle/lib/color.c b/libtextstyle/lib/color.c index 7689c1b1c..41a73e081 100644 --- a/libtextstyle/lib/color.c +++ b/libtextstyle/lib/color.c @@ -1,5 +1,5 @@ /* Color and styling handling. - Copyright (C) 2006-2008, 2019-2020 Free Software Foundation, Inc. + Copyright (C) 2006-2008, 2019-2020, 2023 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -94,7 +94,7 @@ print_color_test () { "magenta", -2, 255, 0, 255 }, { "yellow", -2, 255, 255, 0 }, { "white", -2, 255, 255, 255 }, - { "default", COLOR_DEFAULT } + { "default", COLOR_DEFAULT, /* unused: */ -1, -1, -1 } }; term_ostream_t stream; int i, row, col;