Fix both unused and undeclared local variables in pidofproc.
authorDidier Raboud <odyx@debian.org>
Sun, 11 Mar 2012 13:59:18 +0000 (14:59 +0100)
committerDidier Raboud <odyx@debian.org>
Sun, 11 Mar 2012 13:59:18 +0000 (14:59 +0100)
commit3b4caf321a14160cf7a47efe019dde809c462fa9
treed7d7e48d9ce101befcb6bccfd43a8a4c5a52509d
parent13f38d30a823afc5841fd17ee405c6ebff2af1ac
Fix both unused and undeclared local variables in pidofproc.

This fixes:
- one bug introduced by the fix for #327405 in 3.0-6, which stopped using the
  `line` variable;
- one bug introduced in 3.2-20, which started to use the `base` variable
  without declaring it in local.

Closes: #663351
Reported-by: Liu Yubao <yubao.liu@gmail.com>
Signed-off-by: Didier Raboud <odyx@debian.org>
init-functions