From 46bf87c99c126830e6e5aa3c1e0d2d9994f9398e Mon Sep 17 00:00:00 2001 From: anicic Date: Thu, 11 Jul 2013 12:43:21 +0000 Subject: [PATCH] no exit in ConfigFunc --- drvS7plcFW.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drvS7plcFW.c b/drvS7plcFW.c index 71d395b..e7a0c9c 100644 --- a/drvS7plcFW.c +++ b/drvS7plcFW.c @@ -1,7 +1,7 @@ -/* $Date: 2013/07/11 11:52:44 $ */ -/* $Id: drvS7plcFW.c,v 1.5 2013/07/11 11:52:44 anicic Exp $ */ +/* $Date: 2013/07/11 12:43:21 $ */ +/* $Id: drvS7plcFW.c,v 1.6 2013/07/11 12:43:21 anicic Exp $ */ /* $Name: $ */ -/* $Revision: 1.5 $ */ +/* $Revision: 1.6 $ */ /* * NOTE: s7plcFWwriteThread -is not used for writting (we write direct), @@ -69,7 +69,7 @@ #define RECONNECT_DELAY 10.0 /* delay before reconnect [s] */ static char cvsid[] __attribute__((unused)) = -"$Id: drvS7plcFW.c,v 1.5 2013/07/11 11:52:44 anicic Exp $"; +"$Id: drvS7plcFW.c,v 1.6 2013/07/11 12:43:21 anicic Exp $"; STATIC long s7plcFWIoReport(int level); STATIC long s7plcFWInit(); @@ -389,7 +389,7 @@ static const iocshArg * const s7plcFWConfigureArgs[] = { static const iocshFuncDef s7plcFWConfigureDef = { "s7plcFWConfigure", 8, s7plcFWConfigureArgs }; static void s7plcFWConfigureFunc (const iocshArgBuf *args) { - int status = s7plcFWConfigure( + (void) s7plcFWConfigure( args[0].sval, args[1].sval, args[2].sval, args[3].sval, args[4].ival, args[5].ival, args[6].ival, args[7].ival); }