1
0
Fork 0

fixed reference to unused variable

This commit is contained in:
Jan Steemann 2014-01-23 16:48:24 +01:00
parent 733fd3ebd5
commit 6ec73a5589
1 changed files with 3 additions and 3 deletions

View File

@ -3773,7 +3773,7 @@ function TRAVERSAL_VERTEX_FILTER (config, vertex, path) {
/// @brief check typeweights of params.followEdges/params.filterVertices /// @brief check typeweights of params.followEdges/params.filterVertices
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
function TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS (examples) { function TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS (examples, func) {
"use strict"; "use strict";
if (TYPEWEIGHT(examples) !== TYPEWEIGHT_LIST) { if (TYPEWEIGHT(examples) !== TYPEWEIGHT_LIST) {
@ -3805,11 +3805,11 @@ function TRAVERSAL_FUNC (func, vertexCollection, edgeCollection, startVertex, di
// check followEdges property // check followEdges property
if (params.followEdges) { if (params.followEdges) {
TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followEdges); TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.followEdges, func);
} }
// check filterVertices property // check filterVertices property
if (params.filterVertices) { if (params.filterVertices) {
TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.filterVertices); TRAVERSAL_CHECK_EXAMPLES_TYPEWEIGHTS(params.filterVertices, func);
} }
if (typeof params.visitor !== "function") { if (typeof params.visitor !== "function") {