diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-05-30 11:16:42 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-05-31 10:23:22 +1000 |
commit | a6882165e2f2d8420b709fb458d1cd17945c8e84 (patch) | |
tree | 1c3744a0b4d3ebddfc4cf213e6715b87360714ae | |
parent | ddbc49346c5609dd336d6f72d438218fbfadf1e9 (diff) | |
download | jimtcl-a6882165e2f2d8420b709fb458d1cd17945c8e84.zip jimtcl-a6882165e2f2d8420b709fb458d1cd17945c8e84.tar.gz jimtcl-a6882165e2f2d8420b709fb458d1cd17945c8e84.tar.bz2 |
Remove unused variable
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | jim-eventloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jim-eventloop.c b/jim-eventloop.c index eedaa46..d3c5ce0 100644 --- a/jim-eventloop.c +++ b/jim-eventloop.c @@ -597,7 +597,6 @@ static int JimELUpdateCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv enum { UPDATE_IDLE, UPDATE_NONE }; int option = UPDATE_NONE; int flags = JIM_TIME_EVENTS; - int rc; if (argc == 1) { flags = JIM_ALL_EVENTS; @@ -609,7 +608,7 @@ static int JimELUpdateCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv eventLoop->suppress_bgerror = 0; - while ((rc = Jim_ProcessEvents(interp, flags | JIM_DONT_WAIT)) > 0) { + while (Jim_ProcessEvents(interp, flags | JIM_DONT_WAIT) > 0) { } return JIM_OK; |