]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler: Fix build failure on Linux with '-Werror -Wall'
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 29 Nov 2023 14:10:45 +0000 (15:10 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 29 Nov 2023 14:10:45 +0000 (15:10 +0100)
commit3f36dfc2a53d45fe7147bbf71c39c1525acb47bf
tree0c3fde624ca755fcea922e6bf8356300d7d623ab
parent8a58f035283bdf287be5e57c6f2e4ebe82123eb0
scheduler: Fix build failure on Linux with '-Werror -Wall'

The string which we add into array stays `const` after fixing #814
(because `strdup()`, which caused memory leak returned `char *`)
and compiler fails because of it if it runs with '-Werror -Wall'.
scheduler/colorman.c