Permalink
Browse files

fpvm.c: suppress compiler warning caused by -Wunused-value

This warning was generated when compiling x86-linux/, which uses clang
instead of gcc.
  • Loading branch information...
1 parent 29230eb commit 2ce4328bb8285de39414f74b88c61fcb8dff99fe @wpwrak wpwrak committed with sbourdeauducq Dec 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 software/libfpvm/fpvm.c
View
@@ -389,7 +389,7 @@ static int compile(struct fpvm_fragment *fragment, int reg, struct ast_node *nod
*/
opa = COMPILE(FPVM_INVALID_REG, node->contents.branches.b);
opb = COMPILE(FPVM_INVALID_REG, node->contents.branches.c);
- COMPILE(FPVM_REG_IFB, node->contents.branches.a);
+ (void) COMPILE(FPVM_REG_IFB, node->contents.branches.a);
break;
case op_not:
if(node->contents.branches.a->op == op_constant) {

0 comments on commit 2ce4328

Please sign in to comment.