[PATCH 4/4] d3dxof: Get rid of is_template_available.
Christian Costa
titan.costa at gmail.com
Sun Apr 28 15:46:17 CDT 2013
---
dlls/d3dxof/parsing.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 086959f..546166a 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -884,11 +884,6 @@ static WORD check_TOKEN(parse_buffer * buf)
return buf->current_token;
}
-static BOOL is_template_available(parse_buffer * buf)
-{
- return check_TOKEN(buf) == TOKEN_TEMPLATE;
-}
-
static inline BOOL is_primitive_type(WORD token)
{
BOOL ret;
@@ -1133,7 +1128,7 @@ static BOOL parse_template(parse_buffer * buf)
BOOL parse_templates(parse_buffer * buf)
{
- while (buf->rem_bytes && is_template_available(buf))
+ while (buf->rem_bytes && (check_TOKEN(buf) == TOKEN_TEMPLATE))
{
if (!parse_template(buf))
{
More information about the wine-patches
mailing list