From b3a2c02b0cd3f7d7ff7f9655a75e68e2cd8a657d Mon Sep 17 00:00:00 2001 From: Michael Black Date: Mon, 6 Jan 2020 07:35:00 -0600 Subject: [PATCH] Fix cppcheck warning in ether6.c --- ether6/ether6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ether6/ether6.c b/ether6/ether6.c index 7c6087b34..4a3f43684 100644 --- a/ether6/ether6.c +++ b/ether6/ether6.c @@ -155,7 +155,7 @@ static int ether_rot_get_position(ROT *rot, azimuth_t *az, elevation_t *el) int ret, len, sval, speed, adv; char cmd[CMD_MAX]; char buf[BUF_MAX]; - char mv[BUF_MAX]; + char mv[5]; rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);