diff options
author | gad <gad@FreeBSD.org> | 2000-11-15 06:17:52 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2000-11-15 06:17:52 +0000 |
commit | ece584886887f728fe80102d3fa24bea45e0823d (patch) | |
tree | eb91a03d45b046c8c7f3df4ccdadb8d5459f4f76 /usr.sbin/lpr | |
parent | 4867b0ded4c6e3ba28ce46a548e4a6a2d2f8e67a (diff) | |
download | FreeBSD-src-ece584886887f728fe80102d3fa24bea45e0823d.zip FreeBSD-src-ece584886887f728fe80102d3fa24bea45e0823d.tar.gz |
Eliminate two compile-time warnings.
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c index 57f5c25..ea505ae 100644 --- a/usr.sbin/lpr/lpd/lpd.c +++ b/usr.sbin/lpr/lpd/lpd.c @@ -332,6 +332,8 @@ main(argc, argv) syslog(LOG_WARNING, "select: %m"); continue; } + domain = 0; /* avoid compile-time warning */ + s = 0; /* avoid compile-time warning */ if (FD_ISSET(funix, &readfds)) { domain = AF_UNIX, fromlen = sizeof(fromunix); s = accept(funix, |