Module Name: src Committed By: christos Date: Sat Feb 27 16:14:23 UTC 2016
Modified Files: src/usr.bin/make: meta.c Log Message: CID 1025006: pbm can't be NULL at this point. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/usr.bin/make/meta.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/meta.c diff -u src/usr.bin/make/meta.c:1.48 src/usr.bin/make/meta.c:1.49 --- src/usr.bin/make/meta.c:1.48 Fri Feb 26 19:13:21 2016 +++ src/usr.bin/make/meta.c Sat Feb 27 11:14:23 2016 @@ -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 @@ meta_job_error(Job *job, GNode *gn, int } 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);