diff --git a/channels/chan_phone.c b/channels/chan_phone.c
index d6030bbf13c2d91df14474c2429cf48ab0a8548e..82a37cc36da7cf491b661c65651e10c44dc2b51d 100644
--- a/channels/chan_phone.c
+++ b/channels/chan_phone.c
@@ -807,7 +807,7 @@ static int phone_write(struct ast_channel *ast, struct ast_frame *frame)
 		   we have to pad it to 24 bytes still.  */
 		if (frame->datalen == 4) {
 			if (p->silencesupression) {
-				memset(tmpbuf + 4, 0, sizeof(tmpbuf) - 4);
+				(void) memset(tmpbuf + 4, 0, sizeof(tmpbuf) - 4);
 				memcpy(tmpbuf, frame->data.ptr, 4);
 				expected = 24;
 				res = phone_write_buf(p, tmpbuf, expected, maxfr, 0);