aboutsummaryrefslogtreecommitdiff
path: root/elf/section.lua
diff options
context:
space:
mode:
Diffstat (limited to 'elf/section.lua')
-rw-r--r--elf/section.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/elf/section.lua b/elf/section.lua
index 801a1d8..805a450 100644
--- a/elf/section.lua
+++ b/elf/section.lua
@@ -14,7 +14,6 @@ local fmt = require("elf.fmt")
local M = {}
function M.normalize(section)
- if type(section) ~= "table" then error("section must be a table", 3) end
if not section.name then error("name is required in section", 3) end
if not section.type then error("type is required in section", 3) end
if not section.flags then error("flags required in section", 3) end