]> git.ipfire.org Git - thirdparty/man-pages.git/commit
pthread_setschedparam.3: EXAMPLES: Don't assign unused value
authorAlejandro Colomar <alx@kernel.org>
Wed, 25 Jan 2023 23:24:12 +0000 (00:24 +0100)
committerAlejandro Colomar <alx@kernel.org>
Thu, 26 Jan 2023 00:01:55 +0000 (01:01 +0100)
commit0e55b0d51139c262696e1b623ef889f08ddda0cf
treeabbf9566a678e36e9b40fda6113219562eba43ae
parent6d90fc705fef115879f7b4f063ad94c5cc143417
pthread_setschedparam.3: EXAMPLES: Don't assign unused value

We're not reading the value after it's set.  And I just checked that
that function can't fail for reasonable input.

Reported-by: cppcheck(1)
Reported-by: `make lint-c-cppcheck`
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/pthread_setschedparam.3