From f437ea3fe2cada77634eb3a06d34abf680b9c092 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 17 Mar 2011 14:53:06 +0100 Subject: [PATCH] small warning fix --- device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device.c b/device.c index d11eea5c..aa1ec782 100644 --- a/device.c +++ b/device.c @@ -238,7 +238,7 @@ gboolean sr_device_has_hwcap(struct sr_device *device, int hwcap) int *capabilities, i; if (!device || !device->plugin) - return; + return FALSE; if ((capabilities = device->plugin->get_capabilities())) for (i = 0; capabilities[i]; i++)