Skip to content

Commit

Permalink
Suppress some useless warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fkeglevich committed Jan 19, 2019
1 parent fb95500 commit a423747
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/java/com/fkeglevich/rawdumper/gl/Program.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public int getHandle()
return handle;
}

protected int getUniformHandle(String name)
@SuppressWarnings("ConstantConditions")
public int getUniformHandle(String name)
{
if (uniformCache.containsKey(name))
return uniformCache.get(name);
Expand All @@ -105,6 +106,7 @@ protected int getUniformHandle(String name)
return result;
}

@SuppressWarnings("ConstantConditions")
protected int getAttribHandle(String name)
{
if (attribCache.containsKey(name))
Expand Down

0 comments on commit a423747

Please sign in to comment.