summaryrefslogtreecommitdiff
path: root/bsd_base64.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-06 20:38:37 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-06 20:38:37 -0500
commit56e719970de0fcbbc6c086159f31f82b5eb35128 (patch)
treeeec477c566d221cb1823935155231f38036e778c /bsd_base64.c
parentf1e30c3197910f319cf2d624666be87a0580b82a (diff)
downloadgpsd-56e719970de0fcbbc6c086159f31f82b5eb35128.tar.gz
Code is fully cppcheck, splint, and Coverity clean.
All regression tests pass. PPS is live.
Diffstat (limited to 'bsd_base64.c')
-rw-r--r--bsd_base64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd_base64.c b/bsd_base64.c
index eba89d99..9a7b5f70 100644
--- a/bsd_base64.c
+++ b/bsd_base64.c
@@ -185,6 +185,7 @@ b64_ntop(unsigned char const *src, size_t srclength, char *target,
return (datalength);
}
+#ifdef __UNUSED__
/*@ -matchanyintegral +type @*/
/* skips all whitespace anywhere.
@@ -311,5 +312,6 @@ int b64_pton(char const *src, unsigned char *target, size_t targsize)
}
/*@ +matchanyintegral -charint @*/
+#endif /* __UNUSED__ */
#endif /* !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) */