Skip to content

Commit

Permalink
Eliminate an unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Sep 28, 2017
1 parent d3c8516 commit 368a0b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nselib/idna.lua
Expand Up @@ -285,8 +285,6 @@ function toASCII(codepoints, transitionalProcessing, checkHyphens, checkBidi, ch
encoder = encoder or unicode.utf8_enc
decoder = decoder or unicode.utf8_dec

local inputString = unicode.encode(codepoints, encoder)

local decoded_tbl, disallowedCodePoints = map(codepoints, useSTD3ASCIIRules, transitionalProcessing)

if decoded_tbl == nil then
Expand Down

0 comments on commit 368a0b1

Please sign in to comment.