summaryrefslogtreecommitdiff
path: root/epan/filter_expressions.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-15 04:26:38 +0000
committerGuy Harris <guy@alum.mit.edu>2011-11-15 04:26:38 +0000
commit70a8b27948bbe52d4be3e457b16516058510d7bb (patch)
tree6a43968c812f1038488954c987a9a36a4b96fd6f /epan/filter_expressions.c
parent91398db56b3244a6eea5993945be6da4ab41844a (diff)
downloadwireshark-70a8b27948bbe52d4be3e457b16516058510d7bb.tar.gz
Get rid of the depth argument to dfilter_macro_apply(); have an internal
routine that does all the work and that takes a depth argumen, and an external routine that calls that internal routine with a depth argument of 0. The depth is only of use internally, to avoid infinite recursion. When recursing with that routine, pass depth+1 as the depth value, rather than passing depth and incrementing it afterwards; the latter doesn't prevent infinite recursion. (Thanks and a tip of the hat to Clang Cat for catching this.) Squelch some other (harmless) warnings from Clang Cat. Clean up indentation. svn path=/trunk/; revision=39838
Diffstat (limited to 'epan/filter_expressions.c')
0 files changed, 0 insertions, 0 deletions