From 646d1ffa2139911c36cc1511a828a84a4cbcb235 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Thu, 21 Nov 2019 11:10:04 -0600 Subject: [PATCH] Remove memset from easycomm.c --- easycomm/easycomm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/easycomm/easycomm.c b/easycomm/easycomm.c index e06965ce1..f59ed3b13 100644 --- a/easycomm/easycomm.c +++ b/easycomm/easycomm.c @@ -70,7 +70,6 @@ easycomm_transaction (ROT *rot, const char *cmdstr, char *data, size_t data_len) if (data == NULL || data_len <= 0) return RIG_OK; /* don't want a reply */ - memset(data,0,data_len); retval = read_string(&rs->rotport, data, data_len, "\n", 1); if (retval < 0) { rig_debug(RIG_DEBUG_TRACE, "%s read_string failed with status %d\n", __FUNCTION__, retval);