Commit eccfdc6c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/ltlvisit/formlength.cc: Fix style to please sanity checks.

parent cfcfb6d4
2004-05-17 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-05-17 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlvisit/formlength.cc: Fix style to please sanity checks.
* src/ltlvisit/lunabbrev.cc: Fix style to please sanity checks. * src/ltlvisit/lunabbrev.cc: Fix style to please sanity checks.
* src/tgbaalgos/neverclaim.cc: Fix them. * src/tgbaalgos/neverclaim.cc: Fix them.
......
...@@ -41,7 +41,8 @@ namespace spot ...@@ -41,7 +41,8 @@ namespace spot
result_ = 0; result_ = 0;
} }
virtual ~length_form_visitor() virtual
~length_form_visitor()
{ {
} }
...@@ -52,30 +53,26 @@ namespace spot ...@@ -52,30 +53,26 @@ namespace spot
} }
void void
visit(const atomic_prop* ap) visit(const atomic_prop*)
{ {
if (ap);
result_ = 1; result_ = 1;
} }
void void
visit(const constant* c) visit(const constant*)
{ {
if (c);
result_ = 1; result_ = 1;
} }
void void
visit(const unop* uo) visit(const unop* uo)
{ {
if (uo);
result_ = 1 + form_length(uo->child()); result_ = 1 + form_length(uo->child());
} }
void void
visit(const binop* bo) visit(const binop* bo)
{ {
if (bo);
result_ = 1 + form_length(bo->first()) + form_length(bo->second()); result_ = 1 + form_length(bo->first()) + form_length(bo->second());
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment