(svn r20211) -Codechange: Indented code should have curly braces around it.

This commit is contained in:
alberth
2010-07-24 10:14:39 +00:00
parent 3dc9989841
commit 137e2b64c9
49 changed files with 206 additions and 177 deletions

View File

@@ -167,8 +167,9 @@ static int AyStarMain_Loop(AyStar *aystar)
/* Check for end node and if found, return that code */
if (aystar->EndNodeCheck(aystar, current) == AYSTAR_FOUND_END_NODE) {
if (aystar->FoundEndNode != NULL)
if (aystar->FoundEndNode != NULL) {
aystar->FoundEndNode(aystar, current);
}
free(current);
return AYSTAR_FOUND_END_NODE;
}