Skip to content

Commit

Permalink
Cleaned out a compiler warning for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 11, 2012
1 parent e1659d7 commit f4e4575
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mojoshader.c
Expand Up @@ -4280,15 +4280,15 @@ static const char *make_ARB1_destarg_string(Context *ctx, char *buf,
writemask_str[i] = '\0';
assert(i < sizeof (writemask_str));

const char *pred_left = "";
const char *pred_right = "";
//const char *pred_left = "";
//const char *pred_right = "";
char pred[32] = { '\0' };
if (ctx->predicated)
{
fail(ctx, "dest register predication currently unsupported in arb1");
return buf;
pred_left = "(";
pred_right = ") ";
//pred_left = "(";
//pred_right = ") ";
make_ARB1_srcarg_string_in_buf(ctx, &ctx->predicate_arg,
pred, sizeof (pred));
} // if
Expand Down

0 comments on commit f4e4575

Please sign in to comment.