Skip to content

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 18, 2013
1 parent 0f3d210 commit 9408d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_preprocessor.c
Expand Up @@ -478,7 +478,7 @@ static const Define *find_define(Context *ctx, const char *sym)
return 0;

const size_t len = snprintf(str, bufsize, "%u", state->line);
assert(len < bufsize);
assert(len < bufsize); (void) len;
ctx->line_macro->definition = str;
return ctx->line_macro;
} // else
Expand Down

0 comments on commit 9408d4b

Please sign in to comment.