summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2000-11-15 06:17:52 +0000
committergad <gad@FreeBSD.org>2000-11-15 06:17:52 +0000
commitece584886887f728fe80102d3fa24bea45e0823d (patch)
treeeb91a03d45b046c8c7f3df4ccdadb8d5459f4f76 /usr.sbin
parent4867b0ded4c6e3ba28ce46a548e4a6a2d2f8e67a (diff)
downloadFreeBSD-src-ece584886887f728fe80102d3fa24bea45e0823d.zip
FreeBSD-src-ece584886887f728fe80102d3fa24bea45e0823d.tar.gz
Eliminate two compile-time warnings.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/lpr/lpd/lpd.c2
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,
OpenPOWER on IntegriCloud