Remove needless returns

This commit is contained in:
Manish Goregaokar 2015-09-04 09:11:04 +05:30
parent 2e02ea38fc
commit e94df1ed5c
14 changed files with 38 additions and 38 deletions

View file

@ -881,7 +881,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
}
},
_ => return self.webgl_error(InvalidEnum),
_ => self.webgl_error(InvalidEnum),
}
}
@ -899,7 +899,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
}
},
_ => return self.webgl_error(InvalidEnum),
_ => self.webgl_error(InvalidEnum),
}
}
}