Module Name: src
Committed By: christos
Date: Sat Feb 12 14:24:19 UTC 2011
Modified Files:
src/crypto/external/bsd/libsaslc/dist/src: dict.c
Log Message:
remove NULL check, can't happen.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/libsaslc/dist/src/dict.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/libsaslc/dist/src/dict.c
diff -u src/crypto/external/bsd/libsaslc/dist/src/dict.c:1.3 src/crypto/external/bsd/libsaslc/dist/src/dict.c:1.4
--- src/crypto/external/bsd/libsaslc/dist/src/dict.c:1.3 Fri Feb 11 18:44:43 2011
+++ src/crypto/external/bsd/libsaslc/dist/src/dict.c Sat Feb 12 09:24:18 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: dict.c,v 1.3 2011/02/11 23:44:43 christos Exp $ */
+/* $NetBSD: dict.c,v 1.4 2011/02/12 14:24:18 christos Exp $ */
/* Copyright (c) 2010 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,7 +35,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: dict.c,v 1.3 2011/02/11 23:44:43 christos Exp $");
+__RCSID("$NetBSD: dict.c,v 1.4 2011/02/12 14:24:18 christos Exp $");
#include <sys/queue.h>
#include <ctype.h>
@@ -115,9 +115,6 @@
saslc__dict_valid_key(const char *key)
{
/* key is empty string */
- if (key == NULL)
- return false;
-
if (!isalpha((unsigned char)*key))
return false;