Skip to content

Commit

Permalink
fix warning unused parameter in release build (#2251)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored May 28, 2020
1 parent e00d27c commit d0c9129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glslang/MachineIndependent/localintermediate.h
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class TIntermediate {
void setSource(EShSource s) { source = s; }
EShSource getSource() const { return source; }
#else
void setSource(EShSource s) { assert(s == EShSourceGlsl); }
void setSource(EShSource s) { assert(s == EShSourceGlsl); (void)s; }
EShSource getSource() const { return EShSourceGlsl; }
#endif

Expand Down

0 comments on commit d0c9129

Please sign in to comment.