summaryrefslogtreecommitdiff
path: root/src/wcmValidateDevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wcmValidateDevice.c')
-rw-r--r--src/wcmValidateDevice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 10b2c7f..7c47b7c 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -827,6 +827,7 @@ Bool wcmPreInitParseOptions(WacomDevicePtr priv, Bool is_primary,
goto error;
} else /* No match on existing tool/serial, add tool to the end of the list */
{
+ assert(common->wcmTool != NULL);
toollist = common->wcmTool;
while(toollist->next)
toollist = toollist->next;