]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: variable i is unused without MBR/GPT support built in
authorToomas Soome <tsoome@FreeBSD.org>
Tue, 16 Jun 2020 07:05:03 +0000 (07:05 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 02:42:48 +0000 (21:42 -0500)
commitfa6918f704754dc1bc3451c6e637103c7ffcce37
tree64d19f702702b21fa87cbc2586fad06cfb977656
parentce05cad71c235a8dd4ee787648080ee5d11792b0
loader: variable i is unused without MBR/GPT support built in

Because i is only used as index in for loop, declare it in for statement.

(cherry picked from commit f44c441ee680e1456fba0e8c52f93a49e6f6695b)
stand/common/part.c