From f135b42d8ad39830f96d1e034dedd9d047aa555f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 29 Jun 2020 20:03:38 +0200 Subject: [PATCH] make clear we're not getting a return value from vector_2d_copy --- geometric/vector-operations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometric/vector-operations.c b/geometric/vector-operations.c index f3b0eb1..16580d8 100644 --- a/geometric/vector-operations.c +++ b/geometric/vector-operations.c @@ -65,7 +65,7 @@ void vector_2d_rotate(struct vector_2d *vec, double angle) sin_val = sin(angle); cos_val = cos(angle); - vector_2d_copy(&temp, vec); + (void)vector_2d_copy(&temp, vec); /* Apply rotation matrix */ vec->x = (cos_val * temp.x) - (sin_val * temp.y);