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

Codeql #90

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Codeql #90

wants to merge 3 commits into from

Conversation

smoogipoo
Copy link
Owner

No description provided.

[BackgroundDependencyLoader]
private void load(TextureStore textures)
{
Container circlesContainer;

Check failure

Code scanning / CodeQL

Container contents are never accessed

The contents of this container are never accessed.
@@ -137,7 +137,7 @@
private void load()
{
for (int i = 0; i <= 9; i++)
AddFrame(new Texture(fontStore.Get(null, i.ToString()[0])?.Texture.TextureGL) { ScaleAdjust = 1 + i / 2 }, 1000.0 / 60 * 6);
AddFrame(new Texture(fontStore.Get(null, i.ToString()[0])?.Texture) { ScaleAdjust = 1 + i / 2 }, 1000.0 / 60 * 6);

Check failure

Code scanning / CodeQL

Possible loss of precision

Possible loss of precision: any fraction will be lost.
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