Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 2ce4328bb8285de39414f74b88c61fcb8dff99fe 1 parent 29230eb
@wpwrak wpwrak authored sbourdeauducq committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  software/libfpvm/fpvm.c
2  software/libfpvm/fpvm.c
@@ -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);
case op_not:
if(node->contents.branches.a->op == op_constant) {
Please sign in to comment.
Something went wrong with that request. Please try again.