]> git.sommitrealweird.co.uk Git - advent-of-code-2020.git/commitdiff
Remove redundant bit of code
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Mon, 14 Dec 2020 13:21:48 +0000 (13:21 +0000)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Mon, 14 Dec 2020 13:21:48 +0000 (13:21 +0000)
day14/dockingdata_v2.sh

index 08aed81a0ca09d471b1f7e448e54ba5859aa2f26..33df363a6a6e98799b26332def8c5a5b2dfcb0a9 100755 (executable)
@@ -16,9 +16,6 @@ parse_line() {
         cur_mask=$value
     else
         # it's a memory instruction, yay
-        unset masks
-        get_masks $base_mask
-
         loc=${key%]}
         loc=${loc#*[}
         base_mask=$(get_base_mask $cur_mask $loc)