From: Bert Vermeulen Date: Thu, 17 Mar 2011 13:53:06 +0000 (+0100) Subject: small warning fix X-Git-Tag: libsigrok-0.1.0~303 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f437ea3fe2cada77634eb3a06d34abf680b9c092;p=libsigrok.git small warning fix --- 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++)