Christian Costa : d3dxof: Get rid of is_template_available.
Alexandre Julliard
julliard at winehq.org
Mon Apr 29 13:55:24 CDT 2013
Module: wine
Branch: master
Commit: 6668a641456253b908231d870733b0a3a32a8133
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6668a641456253b908231d870733b0a3a32a8133
Author: Christian Costa <titan.costa at gmail.com>
Date: Sun Apr 28 22:46:17 2013 +0200
d3dxof: Get rid of is_template_available.
---
dlls/d3dxof/parsing.c | 7 +------
1 files changed, 1 insertions(+), 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-cvs
mailing list