Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen lint comment



details:   https://anonhg.NetBSD.org/src/rev/886b05c9bc69
branches:  trunk
changeset: 343777:886b05c9bc69
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 26 17:12:53 2016 +0000

description:
lint comment

diffstat:

 lib/libc/gen/nlist_elf32.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1e489956260d -r 886b05c9bc69 lib/libc/gen/nlist_elf32.c
--- a/lib/libc/gen/nlist_elf32.c        Fri Feb 26 17:10:41 2016 +0000
+++ b/lib/libc/gen/nlist_elf32.c        Fri Feb 26 17:12:53 2016 +0000
@@ -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 @@
                            && (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:



Home | Main Index | Thread Index | Old Index