Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/usr.bin/tic/tic.c,v rcsdiff: /ftp/cvs/cvsroot/src/usr.bin/tic/tic.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.28 retrieving revision 1.29 diff -u -p -r1.28 -r1.29 --- src/usr.bin/tic/tic.c 2017/05/04 13:53:36 1.28 +++ src/usr.bin/tic/tic.c 2017/05/04 14:07:33 1.29 @@ -1,4 +1,4 @@ -/* $NetBSD: tic.c,v 1.28 2017/05/04 13:53:36 roy Exp $ */ +/* $NetBSD: tic.c,v 1.29 2017/05/04 14:07:33 roy Exp $ */ /* * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #endif #include -__RCSID("$NetBSD: tic.c,v 1.28 2017/05/04 13:53:36 roy Exp $"); +__RCSID("$NetBSD: tic.c,v 1.29 2017/05/04 14:07:33 roy Exp $"); #include #include @@ -483,6 +483,7 @@ main(int argc, char **argv) size_t buflen; ssize_t len; TBUF tbuf; + struct term *term; cflag = sflag = 0; ofile = NULL; @@ -578,7 +579,6 @@ main(int argc, char **argv) fprintf(stderr, "%zu entries and %zu aliases written to %s\n", nterm, nalias, dbname); -#ifdef __VALGRIND__ if (ofile == NULL) free(dbname); while ((term = STAILQ_FIRST(&terms)) != NULL) { @@ -588,7 +588,6 @@ main(int argc, char **argv) free(term); } hdestroy1(free, NULL); -#endif return EXIT_SUCCESS; }