From 913d23c661c72190c7f16e3cb42264fda76c089c Mon Sep 17 00:00:00 2001 From: "izsh@fail0verflow.com" Date: Tue, 23 Feb 2010 20:52:50 +0000 Subject: [PATCH 1/1] client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4 --- client/cmdlfem4x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index fea4bd29..8bb4d109 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -281,6 +281,7 @@ int CmdEM4x50Read(const char *Cmd) high= low= 0; clock= 64; + memset(tmpbuff, 0, MAX_GRAPH_TRACE_LEN / 64); /* first get high and low values */ for (i = 0; i < GraphTraceLen; i++) -- 2.39.5