Index: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php |
— | — | @@ -175,11 +175,6 @@ |
176 | 176 | $row = $res->getNext(); // get initial row (i.e. array of SMWResultArray) |
177 | 177 | |
178 | 178 | while ( $row !== false ) { |
179 | | - |
180 | | - $node; |
181 | | - $cond_edge; |
182 | | - |
183 | | - |
184 | 179 | $subject = $row[0]->getResultSubject(); // get Subject of the Result |
185 | 180 | // creates a new node if $val has type wikipage |
186 | 181 | if ( $subject->getTypeID() == '_wpg' ) { |
— | — | @@ -411,8 +406,6 @@ |
412 | 407 | * @return Object of type ProcessNode |
413 | 408 | */ |
414 | 409 | public function makeNode( $id, $label ) { |
415 | | - $node; |
416 | | - |
417 | 410 | // check if node exists |
418 | 411 | if ( isset( $this->m_nodes[$id] ) ) { |
419 | 412 | // take existing node |
— | — | @@ -447,8 +440,6 @@ |
448 | 441 | } |
449 | 442 | |
450 | 443 | public function makeRole( $id, $label ) { |
451 | | - $role; |
452 | | - |
453 | 444 | // check if role exists |
454 | 445 | if ( isset( $this->m_roles[$id] ) ) { |
455 | 446 | // take existing roles |
— | — | @@ -468,8 +459,6 @@ |
469 | 460 | } |
470 | 461 | |
471 | 462 | public function makeRessource( $id, $label ) { |
472 | | - $res; |
473 | | - |
474 | 463 | // check if res exists |
475 | 464 | if ( isset( $this->m_ressources[$id] ) ) { |
476 | 465 | // take existing res |