Signed-off-by: Peter Hutterer <[email protected]>
---
libwacom/libwacom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
index d100793..6d24946 100644
--- a/libwacom/libwacom.c
+++ b/libwacom/libwacom.c
@@ -471,7 +471,7 @@ libwacom_new_from_path(const WacomDeviceDatabase *db, const
char *path, WacomFal
int vendor_id, product_id;
WacomBusType bus;
const WacomDevice *device;
- WacomDevice *ret;
+ WacomDevice *ret = NULL;
WacomIntegrationFlags integration_flags;
char *name;
--
2.1.0
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel