]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler: Fix build failure on Linux with '-Werror -Wall'
authorzdohnal <zdohnal@redhat.com>
Wed, 29 Nov 2023 14:07:18 +0000 (15:07 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Nov 2023 14:07:18 +0000 (15:07 +0100)
commit97d269c22c6103bb600dbe9944dc28f19c90d19e
tree8cd130d0fd83710887b2b727cff863f38117340d
parent2997e18399cf16633642ecfd57bcd1b3b21e3149
parentc7b7ad8a485d656ab2bde9ee9becebac08d92e5e
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'.