Module Name: src
Committed By: christos
Date: Fri Feb 26 17:12:53 UTC 2016
Modified Files:
src/lib/libc/gen: nlist_elf32.c
Log Message:
lint comment
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/libc/gen/nlist_elf32.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/nlist_elf32.c
diff -u src/lib/libc/gen/nlist_elf32.c:1.38 src/lib/libc/gen/nlist_elf32.c:1.39
--- src/lib/libc/gen/nlist_elf32.c:1.38 Wed May 20 00:37:45 2015
+++ src/lib/libc/gen/nlist_elf32.c Fri Feb 26 12:12:53 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: nlist_elf32.c,v 1.38 2015/05/20 04:37:45 matt Exp $ */
+/* $NetBSD: nlist_elf32.c,v 1.39 2016/02/26 17:12:53 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: nlist_elf32.c,v 1.38 2015/05/20 04:37:45 matt Exp $");
+__RCSID("$NetBSD: nlist_elf32.c,v 1.39 2016/02/26 17:12:53 christos Exp $");
#endif /* LIBC_SCCS and not lint */
/* If not included by nlist_elf64.c, ELFSIZE won't be defined. */
@@ -187,7 +187,7 @@ ELFNAMEEND(__fdnlist)(int fd, struct nli
&& (uintptr_t)sym.st_value == sym.st_value
#endif
#endif
- && 1) {
+ && /*CONSTCOND*/1) {
p->n_value = (uintptr_t)sym.st_value;
switch (ELF_ST_TYPE(sym.st_info)) {
case STT_NOTYPE: