Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some issues in the style files found by luacheck #3340

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Feb 20, 2024

Fixes the following issues:

  • missing local variable definition
  • shadowed variables
  • global function that should be part of the module

Please note that the shadowed variables lead to buggy data when osm2pgsql is compiled with LuaJIT.

The variable shadowing causes bad results when used with LuaJIT.
@lonvia lonvia merged commit 8bd8a04 into osm-search:master Feb 20, 2024
9 checks passed
@lonvia lonvia deleted the fix-lua-liniting-issues branch February 20, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant