summaryrefslogtreecommitdiff
path: root/src/shared_string.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-08-15 17:54:13 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2022-10-17 19:23:30 +0200
commit62bd1af3f020993e8658e5f84c536f28cb0762c9 (patch)
treedfd32b9d4ebc25fe58e2ab22cd2a63b69b2c06b0 /src/shared_string.cc
parent287217b98715faaddab019f4e17ab54fccaaec70 (diff)
rc modeline: fix error trying to write readonly global variable
When running modeline-parse on this file: # kakoune: filetype=ledger:indentwidth=4 I get this error from dash (and a similar one from bash): sh: 53: readonly: key: is read only This is because the readonly variable "key" is used elsewhere, both times as global. Fix this by making both variables local. While at it, remove an unused variable. Fixes #4478
Diffstat (limited to 'src/shared_string.cc')
0 files changed, 0 insertions, 0 deletions