Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Feb 5, 2018
1 parent b7272e0 commit b8fe4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine/class/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ namespace rubinius {
if(sym->nil_p()) {
std::ostringstream n;

if(SingletonClass* klass = try_as<SingletonClass>(this)) {
if(try_as<SingletonClass>(this)) {
Module* super = superclass();

while(kind_of<IncludedModule>(super)) {
Expand Down

0 comments on commit b8fe4e5

Please sign in to comment.