Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tim427
Copy link
Contributor

@tim427 tim427 commented Sep 26, 2024

I've made an attempt to add STAYRTR_CACHE as environment variable.


cache := *CacheBin
if cache == DEFAULT_CACHE {
cache = os.Getenv(ENV_CACHE)

Check warning

Code scanning / CodeQL

Useless assignment to local variable

This definition of cache is never used.
@randomthingsandstuff
Copy link
Contributor

yes and thank you.

@randomthingsandstuff randomthingsandstuff merged commit bc0be91 into bgp:master Nov 13, 2025
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.

2 participants