diff options
author | brian <brian@cvs.openbsd.org> | 2001-07-03 22:23:53 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 2001-07-03 22:23:53 +0000 |
commit | 5af004f4f1f6b50d4836d570da571580af4521a4 (patch) | |
tree | 6848a725b0b4dce9f7e00bfee4d31eb03113b27b /usr.sbin | |
parent | 13ed910d205e73a5900ae6b27de55ce30927c8e5 (diff) |
Silence some gcc warnings
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ppp/command.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/command.c b/usr.sbin/ppp/ppp/command.c index 2dc0d17c6df..a97e5ede111 100644 --- a/usr.sbin/ppp/ppp/command.c +++ b/usr.sbin/ppp/ppp/command.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: command.c,v 1.60 2001/06/19 10:24:51 brian Exp $ + * $OpenBSD: command.c,v 1.61 2001/07/03 22:23:52 brian Exp $ */ #include <sys/param.h> @@ -1702,6 +1702,8 @@ SetVariable(struct cmdargs const *arg) break; case VAR_MRU: + long_val = 0; /* silence gcc */ + change = NULL; /* silence gcc */ switch(arg->argc - arg->argn) { case 1: if (argp[strspn(argp, "0123456789")] != '\0') @@ -1745,6 +1747,8 @@ SetVariable(struct cmdargs const *arg) break; case VAR_MTU: + long_val = 0; /* silence gcc */ + change = NULL; /* silence gcc */ switch(arg->argc - arg->argn) { case 1: if (argp[strspn(argp, "0123456789")] != '\0') |