Commit 2f3ecc87 authored by Kyle Evans's avatar Kyle Evans
Browse files

lualoader: Fix some lint-mentioned errors

- nextbootfile is not a variable, but nextboot_file is
- pstatus was explicitly initialized but later clobbered, so don't
  initialize it.
parent 50d2e745
......@@ -173,7 +173,7 @@ local function checkNextboot()
if not config.parse(text) then
-- Attempt to rewrite the first line and only the first line of the
......@@ -274,7 +274,7 @@ end
function config.loadmod(mod, silent)
local status = true
local pstatus = true
local pstatus
for k, v in pairs(mod) do
if v.load == "YES" then
local str = "load "
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment