Skip to content

kvs40xx: Return NULL from read_data()

David Ward requested to merge dpward/backends:thread-kvs40xx into master

Functions called by pthread_create() have the return type (void *). However, the return statements in read_data() use a value of type SANE_Status rather than a pointer, which causes a compiler warning.

This return value is never actually used, so return NULL instead.

Merge request reports