* HACKING, src/sanity/style.test: NULL is not portable, prohibit it.

* iface/gspn/ssp.cc, src/ltltest/reduc.cc, src/ltltest/syntimpl.cc,
src/ltlvisit/basereduc.cc, src/ltlvisit/reducform.cc,
src/ltlvisit/syntimpl.cc: Use 0 instead of NULL.
This commit is contained in:
Alexandre Duret-Lutz 2004-06-02 15:16:47 +00:00
parent 6e3fd873ba
commit 8e324fa2a2
9 changed files with 87 additions and 79 deletions

View file

@ -220,7 +220,6 @@ namespace spot
visit(const unop* uo)
{
const formula* f1 = uo->child();
const formula* tmp = NULL;
switch (uo->op())
{
case unop::Not:
@ -240,10 +239,8 @@ namespace spot
return;
case unop::G:
/* G(a) = false R a */
tmp = constant::false_instance();
if (syntactic_implication(f, tmp))
if (syntactic_implication(f, constant::false_instance()))
result_ = true;
destroy(tmp);
return;
}
/* Unreachable code. */