diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-11 18:08:12 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-11 18:08:12 +0000 |
commit | 0ffec0d8f23ca9114cd0d0cfe501a5684b87ba56 (patch) | |
tree | 981106831928e3d587809be2caf8022ea4126e8a /lib/libc/net | |
parent | 6cd8ffac11893ddd3a014b90212e09deacd8ab92 (diff) | |
download | FreeBSD-src-0ffec0d8f23ca9114cd0d0cfe501a5684b87ba56.zip FreeBSD-src-0ffec0d8f23ca9114cd0d0cfe501a5684b87ba56.tar.gz |
libc: cleanup unnecessary semicolons.
Found with devel/coccinelle.
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/getservent.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/net/getservent.c b/lib/libc/net/getservent.c index 45a5355..d373dd3 100644 --- a/lib/libc/net/getservent.c +++ b/lib/libc/net/getservent.c @@ -321,7 +321,7 @@ files_servent(void *retval, void *mdata, va_list ap) break; default: return NS_NOTFOUND; - }; + } serv = va_arg(ap, struct servent *); buffer = va_arg(ap, char *); @@ -463,7 +463,7 @@ files_setservent(void *retval, void *mdata, va_list ap) break; default: break; - }; + } st->compat_mode_active = 0; return (NS_UNAVAIL); @@ -522,7 +522,7 @@ db_servent(void *retval, void *mdata, va_list ap) break; default: return NS_NOTFOUND; - }; + } serv = va_arg(ap, struct servent *); buffer = va_arg(ap, char *); @@ -641,7 +641,7 @@ db_setservent(void *retval, void *mdata, va_list ap) break; default: break; - }; + } return (NS_UNAVAIL); } @@ -694,7 +694,7 @@ nis_servent(void *retval, void *mdata, va_list ap) break; default: return NS_NOTFOUND; - }; + } serv = va_arg(ap, struct servent *); buffer = va_arg(ap, char *); @@ -781,7 +781,7 @@ nis_servent(void *retval, void *mdata, va_list ap) } } break; - }; + } rv = parse_result(serv, buffer, bufsize, resultbuf, resultbuflen, errnop); @@ -815,7 +815,7 @@ nis_setservent(void *result, void *mdata, va_list ap) break; default: break; - }; + } return (NS_UNAVAIL); } |