Snippets for libgphoto2 2.5.33 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/libgphoto2/2.5.33/150amd64-default.log.
-
libusb1/libusb1.c:135:2: warning: call to undeclared function 'libusb_set_option'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | libusb_set_option(NULL, LIBUSB_OPTION_NO_DEVICE_DISCOVERY, NULL); | ^ -
docupen/docupen.c:88:27: warning: result of comparison of constant 360 with expression of type 'uint8_t' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] 88 | if (camera->pl->info.len > sizeof(struct dp_info)) { | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ -
kodak/dc240/library.c:720:21: warning: variable 'y' set but not used [-Wunused-but-set-variable] 720 | unsigned int x, y=0, z; | ^ -
lumix/lumix.c:588:1: warning: unused function 'Set_quality' [-Wunused-function] 588 | Set_quality(Camera *camera,const char* Quality) { | ^~~~~~~~~~~ -
lumix/lumix.c:772:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 772 | curl_easy_setopt(curl, CURLOPT_POST,1); | ^ -
pentax/pslr.c:995:14: warning: variable 'buf_total' set but not used [-Wunused-but-set-variable] 995 | uint32_t buf_total = 0; | ^ -
ptp2/config.c:3865:61: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] 3865 | if (abs((int)(val - dpd->FORM.Enum.SupportedValue[i].u32))<delta) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -
ptp2/config.c:9857:11: warning: variable 'found' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] 9857 | for (i=0;i<ARRAYSIZE(panasonic_aftable);i++) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~