From d002c60a9282555a8c9b01610a34affa4d7f8b95 Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Sun, 23 Aug 2015 09:12:34 -0700 Subject: [PATCH] appease clang self-assignment warning --- src/minimodem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/minimodem.c b/src/minimodem.c index e156ca2..9257b33 100644 --- a/src/minimodem.c +++ b/src/minimodem.c @@ -290,7 +290,8 @@ benchmarks() int ret; ret = system("sed -n -e '/^model name/{p;q}' -e '/^cpu model/{p;q}' /proc/cpuinfo"); - ret = ret; // don't care, hush compiler. + if ( ret ) + ; // don't care, hush compiler. fflush(stdout);