Skip to content

Commit

Permalink
tidy: Remove redundant control flow statements.
Browse files Browse the repository at this point in the history
Clang-tidy pointed out where functions that don't return a value end
with a 'return' statement.  Changes made by the clang-tidy program.

These problems were pointed out by clang-tidy's "redundant control
flow" check.

https://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-control-flow.html
  • Loading branch information
linuxdude42 committed Nov 23, 2019
1 parent dfbd54b commit 1de8e99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mythtv/libs/libmythui/opengl/mythrenderopengl.cpp
Expand Up @@ -1402,7 +1402,6 @@ void MythRenderOpenGL::GetCachedVBO(GLuint Type, const QRect &Area)
vbo->write(0, vertices, kTextureOffset);
}
ExpireVBOS(MAX_VERTEX_CACHE);
return;
}

void MythRenderOpenGL::ExpireVBOS(int Max)
Expand Down

0 comments on commit 1de8e99

Please sign in to comment.