pacrunner: Remove unitialised use of host_ret variable
authorKalle Valo <kalle.valo@canonical.com>
Mon, 7 Feb 2011 13:34:03 +0000 (15:34 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 8 Feb 2011 12:00:35 +0000 (13:00 +0100)
commitda3ca88cb1d6a74fb05999a31c11dc5bde383dfe
tree99be99aed6951b26ebf061205158a878e566a5b6
parent83c71f78bfda87fbed9aca13c3fef2605fe0ce7b
pacrunner: Remove unitialised use of host_ret variable

For some reason there's a null check for host_ret in parse_url(), which
is at that point is an uninitialised local variable. Just remove the check.

plugins/pacrunner.c:316:5: error: 'host_ret' may be used uninitialized in
this function
plugins/pacrunner.c