* 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:
parent
6e3fd873ba
commit
8e324fa2a2
9 changed files with 87 additions and 79 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue