diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-05-12 14:25:07 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-05-12 14:25:07 +0200 |
commit | f134407f32e98f3fab55c025780ad6701f4b09f9 (patch) | |
tree | ef689a48fd7d1ee79c60d1219ce866f7752e1500 | |
parent | 702dec5f0e59aaaf6d1061e159fc534a7eed7998 (diff) |
fix compilation of hald/freebsd/hf-storage.c
devname is not a variable available int the hf_storage_device_enable()
context, causing the build failure of this file. Remove the line using
it, seems g_return_if_fail(HAL_IS_DEVICE(device)) is already doing the
job.
-rw-r--r-- | hald/freebsd/hf-storage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hald/freebsd/hf-storage.c b/hald/freebsd/hf-storage.c index 93239e5f..b901d9d3 100644 --- a/hald/freebsd/hf-storage.c +++ b/hald/freebsd/hf-storage.c @@ -644,7 +644,6 @@ void hf_storage_device_enable (HalDevice *device) { g_return_if_fail(HAL_IS_DEVICE(device)); - g_return_if_fail(devname != NULL); hal_device_property_set_string(device, "storage.bus", "platform"); hal_device_property_set_string(device, "storage.drive_type", "disk"); |