From 0f2a5814f766ea6c798a21bf2e4efdfbc3d934e8 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Fri, 20 Dec 2019 22:46:44 -0600 Subject: [PATCH] Fix cppcheck warnings in cnctrk.c --- cnctrk/cnctrk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cnctrk/cnctrk.c b/cnctrk/cnctrk.c index af525208d..eae599f7e 100644 --- a/cnctrk/cnctrk.c +++ b/cnctrk/cnctrk.c @@ -51,7 +51,7 @@ cnctrk_set_position(ROT *rot, azimuth_t az, elevation_t el) } sprintf(axcmd, "/usr/bin/axis-remote --mdi 'G00 X %6.2f Y %6.2f' \n", az, el); - return retval = system(axcmd); + return system(axcmd); }