]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r343339: Silence Clang Scan warning about use of unitialized variable.
authorse <se@FreeBSD.org>
Thu, 14 Feb 2019 15:33:04 +0000 (15:33 +0000)
committerse <se@FreeBSD.org>
Thu, 14 Feb 2019 15:33:04 +0000 (15:33 +0000)
commit52964228907add94a5349c9a225bb83716450c9c
tree96e2c684f8fe30649e11e765243a343291769d03
parent848a88f31fab311ebe2fdfde1bfaaea1dac9ed19
MFC r343339: Silence Clang Scan warning about use of unitialized variable.

The logic is changed to depend on actual "beep" parameters instead of on a
flag that may be set for invalid parameters.

An embedded literal escape character has been replaced by "\e", since it
could confuse terminals when displaying the affected line.
usr.sbin/kbdcontrol/kbdcontrol.c