Thread: pgsql: Don't initialize TLI variable to -1, as TimeLineID is unsigned.

pgsql: Don't initialize TLI variable to -1, as TimeLineID is unsigned.

From
Heikki Linnakangas
Date:
Don't initialize TLI variable to -1, as TimeLineID is unsigned.

This was causing a compiler warning with Solaris compiler. Use 0 instead.
The variable is initialized just for the sake of tidyness  and/or debugging,
it's not used for anything before setting it to a real value.

Per report and suggestion from Peter Eisentraut.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2686da9db2aec19763ff2dfe5c034da8fb5eb382

Modified Files
--------------
src/backend/replication/walreceiver.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)