Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make CID 1025006: pbm can't be NULL at this point.



details:   https://anonhg.NetBSD.org/src/rev/7af13b650784
branches:  trunk
changeset: 343798:7af13b650784
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 27 16:14:23 2016 +0000

description:
CID 1025006: pbm can't be NULL at this point.

diffstat:

 usr.bin/make/meta.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c890e01209d3 -r 7af13b650784 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sat Feb 27 15:42:20 2016 +0000
+++ b/usr.bin/make/meta.c       Sat Feb 27 16:14:23 2016 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.48 2016/02/27 00:13:21 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.49 2016/02/27 16:14:23 christos Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -697,7 +697,7 @@
     }
     getcwd(cwd, sizeof(cwd));
     Var_Set(".ERROR_CWD", cwd, VAR_GLOBAL, 0);
-    if (pbm && pbm->meta_fname[0]) {
+    if (pbm->meta_fname[0]) {
        Var_Set(".ERROR_META_FILE", pbm->meta_fname, VAR_GLOBAL, 0);
     }
     meta_job_finish(job);



Home | Main Index | Thread Index | Old Index