From: Brett Parker Date: Mon, 14 Dec 2020 13:21:48 +0000 (+0000) Subject: Remove redundant bit of code X-Git-Url: https://git.sommitrealweird.co.uk/advent-of-code-2020.git/commitdiff_plain/ba941c36304c6e3386629478bc0bb9d32814bd73?ds=inline;hp=c526bc47733dd9abefd93635326c58344966878f Remove redundant bit of code --- diff --git a/day14/dockingdata_v2.sh b/day14/dockingdata_v2.sh index 08aed81..33df363 100755 --- a/day14/dockingdata_v2.sh +++ b/day14/dockingdata_v2.sh @@ -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)