(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
This commit is contained in:
@@ -128,10 +128,11 @@ struct ObjectResolverObject : public ResolverObject {
|
||||
case VSG_SCOPE_PARENT: {
|
||||
TownScopeResolver *tsr = this->GetTown();
|
||||
if (tsr != NULL) return tsr;
|
||||
/* FALL-THROUGH */
|
||||
}
|
||||
FALLTHROUGH;
|
||||
|
||||
default: return ResolverObject::GetScope(scope, relative);
|
||||
default:
|
||||
return ResolverObject::GetScope(scope, relative);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user