Remove some unneccessary assignments to argc openssl.c and ts.c assign the value of opt_num_rest() to argc, but then only use the value once. Reviewed-by: Richard Levitte <levitte@openssl.org>
diff --git a/apps/ts.c b/apps/ts.c index ff4b25e..cec2177 100644 --- a/apps/ts.c +++ b/apps/ts.c
@@ -319,8 +319,7 @@ break; } } - argc = opt_num_rest(); - if (mode == OPT_ERR || argc != 0) + if (mode == OPT_ERR || opt_num_rest() != 0) goto opthelp; /* Seed the random number generator if it is going to be used. */