ldlinux: Fix uninitialized variable warning
authorMatt Fleming <matt.fleming@intel.com>
Mon, 2 Apr 2012 16:11:57 +0000 (17:11 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 09:58:34 +0000 (10:58 +0100)
commit8d2c8de3a3bcc969e45716649583bf5f62936379
tree904d829d8dc6fdef2895229da9bf6f8b1ec89a00
parent5dd53846001c7cd483ed32207f53a54977f9a11f
ldlinux: Fix uninitialized variable warning

Fix the following warning by initializing 'kernel_name' to NULL,

kernel.c:18:14: warning: ‘kernel_name’ may be used uninitialized in this function

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/kernel.c