pcrs_compile_replacement(): Fix a clang warning when building with FUZZ support
authorFabian Keil <fk@fabiankeil.de>
Mon, 29 May 2017 10:09:37 +0000 (10:09 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 29 May 2017 10:09:37 +0000 (10:09 +0000)
commitb74fedb146c49ba5374965b1a0d38d74a920b520
tree2dea3811efe138413fb9f18b9a5d1c32e74ab73a
parentaf31785cde42288c236ca4d0ba850d02e466c907
pcrs_compile_replacement(): Fix a clang warning when building with FUZZ support

The warning was:
"Address of stack memory associated with local variable 'length' is
still referred to by the static variable 'length_stack' upon returning
to the caller. This will be a dangling reference"

For the fuzzing use case it didn't matter but it still shouldn't be done.

While at it, remove a couple of variables that were only used
to make debugging more convenient.
pcrs.c