Skip to content

Commit ce9d1e5

Browse files
committed
fixed compiler warning
1 parent 5dc1f2b commit ce9d1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinyexpr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static double sub(double a, double b) {return a - b;}
185185
static double mul(double a, double b) {return a * b;}
186186
static double divide(double a, double b) {return a / b;}
187187
static double negate(double a) {return -a;}
188-
static double comma(double a, double b) {return b;}
188+
static double comma(double a, double b) {(void)a; return b;}
189189

190190

191191
void next_token(state *s) {

0 commit comments

Comments
 (0)