2025-05-10 00:28 ftp://ftp.de.debian.org/debian/pool/main/c/cups/cups_2.4.10.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=zlib --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 1650 1640 elapsed-time: 134.7 137.8 head-timing-info: old-timing-info: head results: cups-2.4.10/backend/dnssd.c:106:23: error: There is an unknown macro here somewhere. Configuration is required. If get_device is a macro then please configure it. [unknownMacro] cups-2.4.10/backend/ieee1284.c:323:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2388:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2424:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_PSTATE_STOPPED [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2484:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2558:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_JSTATE_CANCELED [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2847:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:3015:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:3141:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:3204:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_STRING [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:3559:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/ipp.c:2368:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] cups-2.4.10/backend/ipp.c:3013:25: style:inconclusive: Function 'password_cb' argument 5 names different: declaration 'user_data' definition 'password_tries'. [funcArgNamesDifferent] cups-2.4.10/backend/ipp.c:171:22: note: Function 'password_cb' argument 5 names different: declaration 'user_data' definition 'password_tries'. cups-2.4.10/backend/ipp.c:3013:25: note: Function 'password_cb' argument 5 names different: declaration 'user_data' definition 'password_tries'. cups-2.4.10/backend/ipp.c:313:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] cups-2.4.10/backend/ipp.c:2361:17: style: Variable 'num_options' is assigned a value that is never used. [unreadVariable] cups-2.4.10/backend/ipp.c:2368:17: style: Variable 'num_options' is assigned a value that is never used. [unreadVariable] cups-2.4.10/backend/lpd.c:665:53: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/backend/network.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_FD [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/network.c:65:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/network.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_NOT_IMPLEMENTED [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/network.c:51:20: style: Parameter 'cancel' can be declared as pointer to const [constParameterPointer] cups-2.4.10/backend/runloop.c:277:29: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/backend/snmp-supplies.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp-supplies.c:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SNMP_MAX_STRING [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp-supplies.c:805:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ASN1_OCTET_STRING [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp-supplies.c:1052:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SNMP_MAX_STRING [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:191:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:372:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:467:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:626:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_BROADCAST [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:810:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERROOT [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:903:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:1208:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:1324:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/snmp.c:253:12: style: Condition 'ipv6>=0' is always false [knownConditionTrueFalse] cups-2.4.10/backend/snmp.c:229:11: note: Assignment 'ipv6=-1', assigned value is -1 cups-2.4.10/backend/snmp.c:253:12: note: Condition 'ipv6>=0' is always false cups-2.4.10/backend/snmp.c:797:5: error: Return value of allocation function 'add_array' is not stored. [leakReturnValNotUsed] cups-2.4.10/backend/snmp.c:830:11: error: Return value of allocation function 'add_array' is not stored. [leakReturnValNotUsed] cups-2.4.10/backend/snmp.c:833:9: error: Return value of allocation function 'add_array' is not stored. [leakReturnValNotUsed] cups-2.4.10/backend/snmp.c:879:5: error: Return value of allocation function 'add_array' is not stored. [leakReturnValNotUsed] cups-2.4.10/backend/snmp.c:338:10: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cups-2.4.10/backend/socket.c:104:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/socket.c:485:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/test1284.c:50:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/test1284.c:33:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/backend/testbackend.c:95:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/testbackend.c:177:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] cups-2.4.10/backend/testbackend.c:191:5: warning: Return value of function pipe() is not used. [ignoredReturnValue] cups-2.4.10/backend/testbackend.c:308:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cups-2.4.10/backend/testsupplies.c:38:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:372:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:935:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1022:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_TIMEOUT [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1132:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOMainPortDefault [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_OBJECT_NULL [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_OBJECT_NULL [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1385:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1423:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFStringEncodingUTF8 [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1502:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnSuccess [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnSuccess [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1543:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnSuccess [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1570:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnError [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1756:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kUSBRqGetDescriptor [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1838:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnSuccess [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1878:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnSuccess [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1896:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFAllocatorDefault [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:1951:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFAllocatorDefault [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:2032:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:2068:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:2275:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_PIDPATHINFO_MAXSIZE [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:2451:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_OBJECT_NULL [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-darwin.c:2274:10: style: Variable 'path' can be declared as pointer to const [constVariablePointer] cups-2.4.10/backend/usb-darwin.c:154:10: style: struct member 'iodevice_request_s::buffer' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:159:9: style: union member 'centronics_status_t::b' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:167:5: style: union member 'centronics_status_t::status' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:162:14: style: struct member 'Anonymous0::reserved0' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:163:14: style: struct member 'Anonymous0::paperError' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:164:14: style: struct member 'Anonymous0::select' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:165:14: style: struct member 'Anonymous0::notError' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:166:14: style: struct member 'Anonymous0::reserved1' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:174:19: style: struct member 'classdriver_s::factory' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:175:11: style: struct member 'classdriver_s::vendorReference' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:185:19: style: struct member 'classdriver_s::DeviceRequest' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:186:19: style: struct member 'classdriver_s::GetString' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:190:19: style: struct member 'classdriver_s::GetCentronicsStatus' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:191:19: style: struct member 'classdriver_s::GetDeviceID' is never used. [unusedStructMember] cups-2.4.10/backend/usb-darwin.c:204:19: style: struct member 'classdriver_s::Terminate' is never used. [unusedStructMember] cups-2.4.10/backend/usb-libusb.c:544:48: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/backend/usb-unix.c:57:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-unix.c:508:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb-unix.c:558:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_BACKEND_FAILED [valueFlowBailoutIncompleteVar] cups-2.4.10/backend/usb.c:156:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpc.c:65:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpc.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpc.c:191:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpc.c:223:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpc.c:270:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_PRINTERS [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpc.c:108:21: style: Condition 'isspace(*params&255)' is always false [knownConditionTrueFalse] cups-2.4.10/berkeley/lpc.c:101:20: note: Assuming that condition 'isspace(*params&255)' is not redundant cups-2.4.10/berkeley/lpc.c:108:21: note: Condition 'isspace(*params&255)' is always false cups-2.4.10/berkeley/lpq.c:87:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpq.c:293:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpq.c:369:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_JOBS [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpq.c:574:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpq.c:642:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpr.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lpr.c:436:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lprm.c:72:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/berkeley/lprm.c:238:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:66:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:316:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:616:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:1415:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVER_DEBUG_LOGGING [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:1775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:1860:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:1950:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:2164:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVER_DEBUG_LOGGING [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:2278:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:2543:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:2630:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/admin.c:1627:4: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/classes.c:102:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/classes.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/classes.c:320:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_CLASSES [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/classes.c:446:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/classes.c:291:30: style:inconclusive: Function 'show_all_classes' argument 2 names different: declaration 'username' definition 'user'. [funcArgNamesDifferent] cups-2.4.10/cgi-bin/classes.c:25:56: note: Function 'show_all_classes' argument 2 names different: declaration 'username' definition 'user'. cups-2.4.10/cgi-bin/classes.c:291:30: note: Function 'show_all_classes' argument 2 names different: declaration 'username' definition 'user'. cups-2.4.10/cgi-bin/classes.c:441:24: style:inconclusive: Function 'show_class' argument 2 names different: declaration 'printer' definition 'pclass'. [funcArgNamesDifferent] cups-2.4.10/cgi-bin/classes.c:26:50: note: Function 'show_class' argument 2 names different: declaration 'printer' definition 'pclass'. cups-2.4.10/cgi-bin/classes.c:441:24: note: Function 'show_class' argument 2 names different: declaration 'printer' definition 'pclass'. cups-2.4.10/cgi-bin/classes.c:41:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/classes.c:445:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/help-index.c:461:39: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cgi-bin/help.c:66:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CACHEDIR [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/help.c:25:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/cgi-bin/help.c:195:18: style: Variable 'nn' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/html.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/html.c:184:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/html.c:216:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:88:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:168:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:314:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_JOB_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:528:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:689:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:798:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:940:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:1259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:1375:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_JOBS [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/ipp-var.c:47:21: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cups-2.4.10/cgi-bin/ipp-var.c:153:25: style: Parameter 'response' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cgi-bin/ipp-var.c:537:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/ipp-var.c:1248:27: style: Parameter 'response' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cgi-bin/jobs.c:78:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_CANCEL_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/jobs.c:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/printers.c:103:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/printers.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/printers.c:312:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/printers.c:463:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/printers.c:298:31: style:inconclusive: Function 'show_all_printers' argument 2 names different: declaration 'username' definition 'user'. [funcArgNamesDifferent] cups-2.4.10/cgi-bin/printers.c:26:57: note: Function 'show_all_printers' argument 2 names different: declaration 'username' definition 'user'. cups-2.4.10/cgi-bin/printers.c:298:31: note: Function 'show_all_printers' argument 2 names different: declaration 'username' definition 'user'. cups-2.4.10/cgi-bin/printers.c:42:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/printers.c:462:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/search.c:295:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/search.c:344:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/search.c:30:4: style: Variable 'sword' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/search.c:318:25: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cgi-bin/template.c:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/template.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/template.c:175:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DATADIR [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/template.c:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SVERSION [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/template.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/testcgi.c:30:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/testcgi.c:30:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] cups-2.4.10/cgi-bin/testhi.c:71:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/testtemplate.c:44:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/testtemplate.c:75:7: warning: Return value of function freopen() is not used. [ignoredReturnValue] cups-2.4.10/cgi-bin/var.c:141:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:337:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:585:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:860:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:1087:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:1265:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cgi-bin/var.c:165:15: style: Variable 'var' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/var.c:248:15: style: Variable 'var' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/var.c:807:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/var.c:843:4: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/var.c:1054:10: style: Variable 'content_length' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cgi-bin/var.c:691:33: warning: Uninitialized variables: &key.nvalues, &key.avalues, &key.values [uninitvar] cups-2.4.10/cups/adminutil.c:784:33: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_DEFAULT_LOG_LEVEL is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/array.c:368:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_array_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/array.c:743:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_array_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/array.c:792:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _cupsStrAlloc [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/array.c:426:3: error: Memory leak: da.elements [memleak] cups-2.4.10/cups/array.c:772:3: error: Memory leak: a.hash [memleak] cups-2.4.10/cups/array.c:251:30: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/auth.c:153:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_UNAUTHORIZED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/auth.c:1007:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_WWW_AUTHENTICATE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/auth.c:624:10: style: Variable 'valend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/auth.c:732:4: style: Variable 'send' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/auth.c:1148:4: style: Variable 'certptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/auth.c:731:15: style: Variable 'sptr' is assigned a value that is never used. [unreadVariable] cups-2.4.10/cups/backchannel.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/backchannel.c:129:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/backend.c:107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/backend.c:118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-job.c:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_CANCEL_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-job.c:95:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-job.c:193:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-job.c:277:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-job.c:339:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-job.c:71:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-job.c:77:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest-job.c:162:20: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-job.c:259:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-job.c:311:20: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-localization.c:66:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-localization.c:304:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_MEDIA_FLAGS_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-localization.c:351:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-localization.c:235:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:87:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:205:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:717:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEST_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:861:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:909:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:959:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1065:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_size_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1160:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_size_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1235:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_size_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1294:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1345:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_size_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1394:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1425:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1553:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_BOOLEAN [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1839:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_MEDIA_FLAGS_READY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1917:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_BEGIN_COLLECTION [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:1941:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:2002:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_MEDIA_FLAGS_READY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:2315:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_MEDIA_FLAGS_READY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:2704:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_RES_PER_INCH [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:2826:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_MEDIA_FLAGS_READY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest-options.c:307:15: warning:inconclusive: Width 15 given in format string (no. 3) is smaller than destination buffer 'temp[1024]'. [invalidScanfFormatWidth_smaller] cups-2.4.10/cups/dest-options.c:309:17: warning:inconclusive: Width 15 given in format string (no. 2) is smaller than destination buffer 'temp[1024]'. [invalidScanfFormatWidth_smaller] cups-2.4.10/cups/dest-options.c:2695:10: warning:inconclusive: Width 15 given in format string (no. 3) is smaller than destination buffer 'temp[1024]'. [invalidScanfFormatWidth_smaller] cups-2.4.10/cups/dest-options.c:2697:12: warning:inconclusive: Width 15 given in format string (no. 2) is smaller than destination buffer 'temp[1024]'. [invalidScanfFormatWidth_smaller] cups-2.4.10/cups/dest-options.c:68:20: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:69:20: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:72:20: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:169:19: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:170:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:183:19: style: Variable 'map' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest-options.c:228:18: style: Variable 'pwg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest-options.c:385:20: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:386:20: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:691:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest-options.c:856:19: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:857:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:905:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:954:19: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:955:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:1043:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:1139:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:1211:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:1277:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:1753:24: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cups_compare_dconstres' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/dest-options.c:1912:57: note: You might need to cast the function pointer here cups-2.4.10/cups/dest-options.c:1753:24: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/dest-options.c:1754:24: style: Parameter 'b' can be declared as pointer to const. However it seems that 'cups_compare_dconstres' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/dest-options.c:1912:57: note: You might need to cast the function pointer here cups-2.4.10/cups/dest-options.c:1754:24: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/dest-options.c:1766:23: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cups_compare_media_db' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/dest-options.c:1997:41: note: You might need to cast the function pointer here cups-2.4.10/cups/dest-options.c:1766:23: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/dest-options.c:1767:23: style: Parameter 'b' can be declared as pointer to const. However it seems that 'cups_compare_media_db' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/dest-options.c:1997:41: note: You might need to cast the function pointer here cups-2.4.10/cups/dest-options.c:1767:23: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/dest-options.c:1906:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest-options.c:1987:20: style: Variable 'media_col_db' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest-options.c:2567:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest-options.c:2568:23: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest.c:296:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_option_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:624:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:852:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_option_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:887:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_PSTATE_STOPPED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:980:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1131:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1243:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1432:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_CUPS_GET_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1624:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1666:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1757:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_GET_PRINTER_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1966:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_dest_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:2022:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:2067:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_REDIRECTION_OTHER_SITE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:2494:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_dest_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:3522:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_PRINTER_DISCOVERED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:4067:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEST_FLAGS_REMOVED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:4288:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_default [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:4329:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_RANGE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:4404:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEST_FLAGS_REMOVED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/dest.c:1191:9: style: Condition 'resource' is always true [knownConditionTrueFalse] cups-2.4.10/cups/dest.c:264:16: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest.c:805:27: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/dest.c:1367:4: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest.c:2044:18: style: Variable 'match' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dest.c:4318:4: style: Variable 'valptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/dir.c:370:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] cups-2.4.10/cups/encode.c:419:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_BOOLEAN [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/encode.c:710:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_OPERATION [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/encode.c:755:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_OPERATION [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/encode.c:389:20: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/encode.c:907:36: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_ipp_options' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/encode.c:898:12: note: You might need to cast the function pointer here cups-2.4.10/cups/encode.c:907:36: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/encode.c:908:36: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_ipp_options' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/encode.c:898:12: note: You might need to cast the function pointer here cups-2.4.10/cups/encode.c:908:36: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/encode.c:894:36: error: Uninitialized variables: &key.multivalue, &key.value_tag, &key.group_tag, &key.alt_group_tag, &key.operations [uninitvar] cups-2.4.10/cups/file.c:163:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:323:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:482:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_FILE_NONE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:1100:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:1212:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_file_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:1958:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:1995:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_stdio [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:2024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:2639:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:2729:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:2785:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/file.c:519:3: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/file.c:864:4: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/file.c:938:4: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/file.c:1013:27: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/file.c:2061:29: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/file.c:2693:24: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/file.c:2748:25: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/fuzzipp.c:78:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_PRINT_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/fuzzipp.c:184:18: style: Local variable 'fp' shadows outer variable [shadowVariable] cups-2.4.10/cups/fuzzipp.c:61:16: note: Shadowed declaration cups-2.4.10/cups/fuzzipp.c:184:18: note: Shadow variable cups-2.4.10/cups/fuzzipp.c:275:23: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/fuzzipp.c:332:23: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'write_cb' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/fuzzipp.c:114:51: note: You might need to cast the function pointer here cups-2.4.10/cups/fuzzipp.c:332:23: note: Parameter 'buffer' can be declared as pointer to const cups-2.4.10/cups/getifaddrs.c:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFCONF [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/getifaddrs.c:30:5: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/getifaddrs.c:33:18: style: Variable 'ifp' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/getputfile.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/getputfile.c:236:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/getputfile.c:310:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/getputfile.c:534:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/globals.c:203:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_encryption_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/globals.c:354:5: warning: Return value of function getpwuid_r() is not used. [ignoredReturnValue] cups-2.4.10/cups/hash.c:65:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/hash.c:208:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:141:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:182:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:308:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:417:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:470:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:493:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:533:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:759:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addr.c:416:12: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] cups-2.4.10/cups/http-addr.c:778:13: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cups-2.4.10/cups/http-addr.c:863:19: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cups-2.4.10/cups/http-addr.c:67:28: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http-addr.c:462:27: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http-addrlist.c:96:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addrlist.c:452:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_addrlist_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addrlist.c:766:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_addrlist_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-addrlist.c:730:24: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cups-2.4.10/cups/http-addrlist.c:775:24: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cups-2.4.10/cups/http-addrlist.c:854:22: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cups-2.4.10/cups/http-addrlist.c:58:22: style: Parameter 'cancel' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http-addrlist.c:443:22: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http-addrlist.c:717:23: style: Variable 'host' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-addrlist.c:718:23: style: Variable 'port' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-addrlist.c:842:21: style: Variable 'port' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-addrlist.c:62:9: style: Unused variable: i [unusedVariable] cups-2.4.10/cups/http-addrlist.c:62:12: style: Unused variable: j [unusedVariable] cups-2.4.10/cups/http-addrlist.c:64:4: style: Unused variable: result [unusedVariable] cups-2.4.10/cups/http-addrlist.c:526:10: style: Unused variable: ipv6 [unusedVariable] cups-2.4.10/cups/http-addrlist.c:527:5: style: Unused variable: ipv6zone [unusedVariable] cups-2.4.10/cups/http-addrlist.c:528:9: style: Unused variable: ipv6len [unusedVariable] cups-2.4.10/cups/http-support.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_STATUS_BAD_ARGUMENTS [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:460:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_STATUS_BAD_ARGUMENTS [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:906:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:934:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:992:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_STATUS_BAD_ARGUMENTS [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:1324:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:1476:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:1499:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:1759:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http-support.c:2113:45: style: Condition '!uri' is always true [knownConditionTrueFalse] cups-2.4.10/cups/http-support.c:2110:11: note: Assignment 'uri=NULL', assigned value is 0 cups-2.4.10/cups/http-support.c:2113:45: note: Condition '!uri' is always true cups-2.4.10/cups/http-support.c:371:11: style: Variable 'query' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-support.c:579:4: style: Variable 'outend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-support.c:697:4: style: Variable 'outend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-support.c:961:5: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-support.c:1331:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-support.c:2173:3: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http-support.c:2241:16: style: Parameter 'dstend' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http-support.c:44:11: style: struct member '_http_uribuf_s::buffer' is never used. [unusedStructMember] cups-2.4.10/cups/http-support.c:45:11: style: struct member '_http_uribuf_s::bufsize' is never used. [unusedStructMember] cups-2.4.10/cups/http-support.c:46:9: style: struct member '_http_uribuf_s::options' is never used. [unusedStructMember] cups-2.4.10/cups/http-support.c:47:16: style: struct member '_http_uribuf_s::resource' is never used. [unusedStructMember] cups-2.4.10/cups/http-support.c:48:16: style: struct member '_http_uribuf_s::uuid' is never used. [unusedStructMember] cups-2.4.10/cups/http.c:166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_addr_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:232:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_credential_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:313:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_ACCEPT_LANGUAGE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:523:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_DELETE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:583:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPTION_ALWAYS [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:601:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:616:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_MAX [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:642:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_WAITING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:715:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCODING_CHUNKED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:760:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_GET [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:927:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPTION_IF_REQUESTED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:944:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:971:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_UNKNOWN [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:989:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_KEEPALIVE_OFF [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1042:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_TRANSFER_ENCODING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1180:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1322:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1335:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1351:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1496:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_VERSION_1_0 [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1509:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_HEAD [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1554:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1606:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_OPTIONS [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1675:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCODING_FIELDS [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1874:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_POST [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1904:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1933:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_PUT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2080:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCODING_CHUNKED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2363:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2593:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_UNKNOWN [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_UNKNOWN [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2675:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_TRANSFER_ENCODING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2741:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2756:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_TRACE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2785:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:2963:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:3081:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:3282:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCODING_CHUNKED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:3375:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:3593:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:4005:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:4187:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:4374:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FIELD_USER_AGENT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:4537:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_POST_SEND [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:4762:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/http.c:1639:14: style: Checking if unsigned expression 'length' is less than zero. [unsignedLessThanZero] cups-2.4.10/cups/http.c:1981:14: style: Checking if unsigned expression 'length' is less than zero. [unsignedLessThanZero] cups-2.4.10/cups/http.c:415:22: style: Variable 'temp1' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http.c:415:30: style: Variable 'temp2' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http.c:550:35: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:828:32: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:1095:24: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:1108:22: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:1134:26: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:1150:4: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http.c:1152:11: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http.c:1362:32: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:1371:4: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http.c:1577:23: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:1592:25: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/http.c:2174:3: style: Variable 'req_method' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/http.c:3010:19: style: Parameter 'http' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/ipp-file.c:114:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_UNSUPPORTED_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-file.c:223:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-file.c:468:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_UNSUPPORTED_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-file.c:710:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_RES_PER_INCH [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-file.c:833:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-file.c:604:38: warning: Either the condition '!valueptr' is redundant or there is possible null pointer dereference: valueptr. [nullPointerRedundantCheck] cups-2.4.10/cups/ipp-file.c:606:21: note: Assuming that condition '!valueptr' is not redundant cups-2.4.10/cups/ipp-file.c:604:38: note: Null pointer dereference cups-2.4.10/cups/ipp-file.c:756:67: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/ipp-support.c:696:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_CUPS_CONST [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:1941:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_KEYWORD [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2109:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_JSTATE_COMPLETED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2249:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_OK_EVENTS_COMPLETE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2296:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_REDIRECTION_OTHER_SITE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2339:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_PRIVATE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2376:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_PRIVATE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2432:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ipp_port [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2445:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATE_DATA [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2463:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_CUPS_MASK [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2491:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_OPERATION [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-support.c:2409:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ipp-support.c:2522:24: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/ipp-support.c:2527:5: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ipp-vars.c:238:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ipp-vars.c:51:4: style: Variable 'dstend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ipp.c:33:15: error: There is an unknown macro here somewhere. Configuration is required. If ipp_get_code is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/langprintf.c:46:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/langprintf.c:275:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/language.c:343:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_US_ASCII [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/language.c:733:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_AUTO_ENCODING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/language.c:1630:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_AUTO_ENCODING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/language.c:376:31: style: Parameter 'lang' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/language.c:1652:22: style: Parameter 'm1' can be declared as pointer to const. However it seems that 'cups_message_compare' is a callback function, if 'm1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/language.c:1224:44: note: You might need to cast the function pointer here cups-2.4.10/cups/language.c:1652:22: note: Parameter 'm1' can be declared as pointer to const cups-2.4.10/cups/language.c:1653:22: style: Parameter 'm2' can be declared as pointer to const. However it seems that 'cups_message_compare' is a callback function, if 'm2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/language.c:1224:44: note: You might need to cast the function pointer here cups-2.4.10/cups/language.c:1653:22: note: Parameter 'm2' can be declared as pointer to const cups-2.4.10/cups/notify.c:54:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_INTEGER [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/notify.c:177:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_TEXT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/notify.c:159:29: style: Parameter 'lang' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/options.c:112:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_option_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/options.c:175:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/options.c:241:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/options.c:528:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_option_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/options.c:642:20: style:inconclusive: Function 'cups_find_option' argument 3 names different: declaration 'option' definition 'options'. [funcArgNamesDifferent] cups-2.4.10/cups/options.c:25:42: note: Function 'cups_find_option' argument 3 names different: declaration 'option' definition 'options'. cups-2.4.10/cups/options.c:642:20: note: Function 'cups_find_option' argument 3 names different: declaration 'option' definition 'options'. cups-2.4.10/cups/options.c:268:3: style: Variable 'value' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-cache.c:3141:31: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/ppd-conflicts.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-conflicts.c:709:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-conflicts.c:676:18: style:inconclusive: Function 'ppd_is_installable' argument 2 names different: declaration 'option' definition 'name'. [funcArgNamesDifferent] cups-2.4.10/cups/ppd-conflicts.c:40:35: note: Function 'ppd_is_installable' argument 2 names different: declaration 'option' definition 'name'. cups-2.4.10/cups/ppd-conflicts.c:676:18: note: Function 'ppd_is_installable' argument 2 names different: declaration 'option' definition 'name'. cups-2.4.10/cups/ppd-conflicts.c:182:16: style: Variable 'resolver' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-conflicts.c:675:18: style: Parameter 'installable' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/ppd-conflicts.c:1050:20: style: Variable 'size' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-emit.c:334:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-emit.c:394:17: style: Variable 'display' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-emit.c:546:27: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/ppd-emit.c:612:15: style: Variable 'size' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-emit.c:785:8: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-emit.c:887:21: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-emit.c:1115:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'ppd_compare_cparams' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/ppd-emit.c:1009:50: note: You might need to cast the function pointer here cups-2.4.10/cups/ppd-emit.c:1115:35: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/ppd-emit.c:1116:35: style: Parameter 'b' can be declared as pointer to const. However it seems that 'ppd_compare_cparams' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/ppd-emit.c:1009:50: note: You might need to cast the function pointer here cups-2.4.10/cups/ppd-emit.c:1116:35: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/ppd-emit.c:1130:4: style: Variable 'input_slot' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-localize.c:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-localize.c:251:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_TEXT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-localize.c:599:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-mark.c:175:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_QUALITY_DRAFT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-mark.c:624:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-mark.c:997:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_UI_PICKMANY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-mark.c:65:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-mark.c:367:29: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/ppd-mark.c:478:4: style: Variable 'c' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-mark.c:720:27: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/ppd-mark.c:402:8: error: Uninitialized variable: key [uninitvar] cups-2.4.10/cups/ppd-mark.c:484:8: error: Uninitialized variable: key [uninitvar] cups-2.4.10/cups/ppd-page.c:198:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd-util.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-util.c:93:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_OK [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-util.c:131:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_HOST [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-util.c:493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd-util.c:558:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:314:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_OK [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:330:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ISO8859_1 [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:427:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2236:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_NULL_FILE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2287:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_NULL_FILE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2385:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppd_attr_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2435:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppd_choice_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2465:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppd_size_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2693:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppd_coption_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2733:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppd_cparam_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2780:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_CONFORM_STRICT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2836:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppd_option_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:2970:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:3473:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_BAD_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/ppd.c:395:19: style: Variable 'pg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/ppd.c:2500:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'ppd_compare_choices' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/ppd.c:2141:49: note: You might need to cast the function pointer here cups-2.4.10/cups/ppd.c:2500:35: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/ppd.c:2501:35: style: Parameter 'b' can be declared as pointer to const. However it seems that 'ppd_compare_choices' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/ppd.c:2141:49: note: You might need to cast the function pointer here cups-2.4.10/cups/ppd.c:2501:35: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/ppd.c:3428:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/pwg-media.c:330:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/pwg-media.c:464:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwg_size_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/pwg-media.c:1198:11: warning: Either the condition 'ptr' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] cups-2.4.10/cups/pwg-media.c:908:9: note: Assuming that condition 'ptr' is not redundant cups-2.4.10/cups/pwg-media.c:906:30: note: Calling function 'pwg_scan_measurement', 1st argument 'ptr' value is 0 cups-2.4.10/cups/pwg-media.c:1198:11: note: Null pointer dereference cups-2.4.10/cups/pwg-media.c:450:16: style: Variable 'pwg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/pwg-media.c:1062:33: style: Parameter 'a' can be declared as pointer to const. However it seems that 'pwg_compare_legacy' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/pwg-media.c:630:56: note: You might need to cast the function pointer here cups-2.4.10/cups/pwg-media.c:1062:33: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/pwg-media.c:1063:33: style: Parameter 'b' can be declared as pointer to const. However it seems that 'pwg_compare_legacy' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/pwg-media.c:630:56: note: You might need to cast the function pointer here cups-2.4.10/cups/pwg-media.c:1063:33: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/pwg-media.c:1074:30: style: Parameter 'a' can be declared as pointer to const. However it seems that 'pwg_compare_ppd' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/pwg-media.c:688:56: note: You might need to cast the function pointer here cups-2.4.10/cups/pwg-media.c:1074:30: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/pwg-media.c:1075:30: style: Parameter 'b' can be declared as pointer to const. However it seems that 'pwg_compare_ppd' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/pwg-media.c:688:56: note: You might need to cast the function pointer here cups-2.4.10/cups/pwg-media.c:1075:30: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/pwg-media.c:1086:30: style: Parameter 'a' can be declared as pointer to const. However it seems that 'pwg_compare_pwg' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/pwg-media.c:865:56: note: You might need to cast the function pointer here cups-2.4.10/cups/pwg-media.c:1086:30: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/pwg-media.c:1087:30: style: Parameter 'b' can be declared as pointer to const. However it seems that 'pwg_compare_pwg' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/pwg-media.c:865:56: note: You might need to cast the function pointer here cups-2.4.10/cups/pwg-media.c:1087:30: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/raster-interpret.c:161:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cups_page_header2_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/raster-interpret.c:1225:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/raster-interpret.c:716:29: style:inconclusive: Function 'copy_stack' argument 2 names different: declaration 'count' definition 'c'. [funcArgNamesDifferent] cups-2.4.10/cups/raster-interpret.c:75:50: note: Function 'copy_stack' argument 2 names different: declaration 'count' definition 'c'. cups-2.4.10/cups/raster-interpret.c:716:29: note: Function 'copy_stack' argument 2 names different: declaration 'count' definition 'c'. cups-2.4.10/cups/raster-interpret.c:699:19: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/raster-interpret.c:937:30: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/raster-interpret.c:1048:5: style: Variable 'valend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/raster-interpret.c:1411:5: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/raster-stream.c:213:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/raster-stream.c:455:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/raster-stubs.c:326:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/raster-stubs.c:352:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/raster-stubs.c:245:25: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/raster-stubs.c:273:26: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/raster-stubs.c:339:30: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'cups_write_fd' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/raster-stubs.c:118:28: note: You might need to cast the function pointer here cups-2.4.10/cups/raster-stubs.c:339:30: note: Parameter 'buf' can be declared as pointer to const cups-2.4.10/cups/rasterbench.c:74:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_RASTER_WRITE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/rasterbench.c:182:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_RASTER_READ [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/rasterbench.c:309:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CMYK [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/rasterbench.c:276:17: style: Checking if unsigned expression 'count' is less than zero. [unsignedLessThanZero] cups-2.4.10/cups/rasterbench.c:52:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/cups/request.c:57:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:124:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:333:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:483:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_error [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:497:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_status_message [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:560:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:613:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:932:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:1020:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPTION_NEVER [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:1093:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:1182:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/request.c:457:22: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/sidechannel.c:147:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/sidechannel.c:608:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/snmp.c:308:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/snmp.c:402:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/snmp.c:699:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/snmp.c:763:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/snmp.c:96:30: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cups-2.4.10/cups/snmp.c:691:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cups-2.4.10/cups/snmp.c:818:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:825:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:832:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:839:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:846:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:851:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:860:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:868:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:878:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:886:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:894:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:902:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:910:11: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:918:11: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/snmp.c:1487:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/snmp.c:1489:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/snmp.c:1491:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/snmp.c:1500:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/snmp.c:1502:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/snmp.c:1511:40: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-2.4.10/cups/snmp.c:1092:32: style:inconclusive: Function 'asn1_encode_snmp' argument 2 names different: declaration 'len' definition 'bufsize'. [funcArgNamesDifferent] cups-2.4.10/cups/snmp.c:32:60: note: Function 'asn1_encode_snmp' argument 2 names different: declaration 'len' definition 'bufsize'. cups-2.4.10/cups/snmp.c:1092:32: note: Function 'asn1_encode_snmp' argument 2 names different: declaration 'len' definition 'bufsize'. cups-2.4.10/cups/snmp.c:210:18: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/snmp.c:262:3: style: Variable 'dstend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/snmp.c:484:3: style: Variable 'dstend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/snmp.c:646:21: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/snmp.c:745:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/snmp.c:1319:4: style: Variable 'oidend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/snmp.c:1376:20: style: Parameter 'bufend' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/snmp.c:1409:20: style: Parameter 'bufend' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/snprintf.c:41:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/string.c:160:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_UTF8 [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/string.c:207:31: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/string.c:211:4: style: Variable 'tempdec' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/string.c:397:29: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/string.c:765:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_sp_items' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/string.c:66:50: note: You might need to cast the function pointer here cups-2.4.10/cups/string.c:765:35: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/cups/string.c:766:35: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_sp_items' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/string.c:66:50: note: You might need to cast the function pointer here cups-2.4.10/cups/string.c:766:35: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/cups/tempfile.c:141:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testadmin.c:95:20: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testarray.c:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testarray.c:148:64: warning: Either the condition '(text=(char*)cupsArrayFirst(array))!=NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/cups/testarray.c:143:46: note: Assuming that condition '(text=(char*)cupsArrayFirst(array))!=NULL' is not redundant cups-2.4.10/cups/testarray.c:148:64: note: Null pointer dereference cups-2.4.10/cups/testarray.c:162:63: warning: Either the condition '(text=(char*)cupsArrayNext(array))!=NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/cups/testarray.c:157:45: note: Assuming that condition '(text=(char*)cupsArrayNext(array))!=NULL' is not redundant cups-2.4.10/cups/testarray.c:162:63: note: Null pointer dereference cups-2.4.10/cups/testarray.c:176:63: warning: Either the condition '(text=(char*)cupsArrayLast(array))!=NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/cups/testarray.c:171:45: note: Assuming that condition '(text=(char*)cupsArrayLast(array))!=NULL' is not redundant cups-2.4.10/cups/testarray.c:176:63: note: Null pointer dereference cups-2.4.10/cups/testarray.c:190:63: warning: Either the condition '(text=(char*)cupsArrayPrev(array))!=NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/cups/testarray.c:185:45: note: Assuming that condition '(text=(char*)cupsArrayPrev(array))!=NULL' is not redundant cups-2.4.10/cups/testarray.c:190:63: note: Null pointer dereference cups-2.4.10/cups/testarray.c:204:63: warning: Either the condition '(text=(char*)cupsArrayFind(array,(void*)"One Fish"))!=NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/cups/testarray.c:199:65: note: Assuming that condition '(text=(char*)cupsArrayFind(array,(void*)"One Fish"))!=NULL' is not redundant cups-2.4.10/cups/testarray.c:204:63: note: Null pointer dereference cups-2.4.10/cups/testarray.c:218:63: warning: Either the condition '(text=(char*)cupsArrayCurrent(array))!=NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/cups/testarray.c:213:48: note: Assuming that condition '(text=(char*)cupsArrayCurrent(array))!=NULL' is not redundant cups-2.4.10/cups/testarray.c:218:63: note: Null pointer dereference cups-2.4.10/cups/testarray.c:45:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testcache.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:222:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:342:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_MIMETYPE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:662:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_JSTATE_CANCELED [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:795:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_GET_PRINTER_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:978:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:1046:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testclient.c:84:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/cups/testclient.c:39:5: style: struct member '_client_data_s::user' is never used. [unusedStructMember] cups-2.4.10/cups/testconflicts.c:71:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testconflicts.c:31:4: style: Variable 'optr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testconflicts.c:32:4: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testcreds.c:27:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testcups.c:151:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testcups.c:38:11: style: Variable 'http' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testcups.c:39:4: style: Variable 'http2' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testdest.c:373:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testdest.c:421:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testdest.c:726:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testdest.c:371:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testdest.c:724:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testfile.c:402:23: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/testhttp.c:928:21: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/testi18n.c:159:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_AUTO_ENCODING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testipp.c:344:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_PRINT_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testipp.c:981:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testipp.c:1092:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_PRINTER [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testipp.c:915:23: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testipp.c:973:25: style: Parameter 'ipp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testipp.c:1110:23: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'write_cb' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/testipp.c:401:51: note: You might need to cast the function pointer here cups-2.4.10/cups/testipp.c:1110:23: note: Parameter 'buffer' can be declared as pointer to const cups-2.4.10/cups/testlang.c:336:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SVERSION [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testlang.c:313:27: style:inconclusive: Function 'test_language' argument 1 names different: declaration 'locale' definition 'lang'. [funcArgNamesDifferent] cups-2.4.10/cups/testlang.c:36:38: note: Function 'test_language' argument 1 names different: declaration 'locale' definition 'lang'. cups-2.4.10/cups/testlang.c:313:27: note: Function 'test_language' argument 1 names different: declaration 'locale' definition 'lang'. cups-2.4.10/cups/testlang.c:134:22: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testlang.c:173:17: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testoptions.c:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testoptions.c:59:56: warning: Either the condition '(value=cupsGetOption("foo",num_options,options))==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] cups-2.4.10/cups/testoptions.c:56:67: note: Assuming that condition '(value=cupsGetOption("foo",num_options,options))==NULL' is not redundant cups-2.4.10/cups/testoptions.c:59:56: note: Null pointer dereference cups-2.4.10/cups/testoptions.c:66:20: warning: Either the condition '(value=cupsGetOption("bar",num_options,options))==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] cups-2.4.10/cups/testoptions.c:62:67: note: Assuming that condition '(value=cupsGetOption("bar",num_options,options))==NULL' is not redundant cups-2.4.10/cups/testoptions.c:66:20: note: Null pointer dereference cups-2.4.10/cups/testoptions.c:72:71: warning: Either the condition '(value=cupsGetOption("baz",num_options,options))==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] cups-2.4.10/cups/testoptions.c:69:67: note: Assuming that condition '(value=cupsGetOption("baz",num_options,options))==NULL' is not redundant cups-2.4.10/cups/testoptions.c:72:71: note: Null pointer dereference cups-2.4.10/cups/testoptions.c:78:62: warning: Either the condition '(value=cupsGetOption("foobar",num_options,options))==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] cups-2.4.10/cups/testoptions.c:75:70: note: Assuming that condition '(value=cupsGetOption("foobar",num_options,options))==NULL' is not redundant cups-2.4.10/cups/testoptions.c:78:62: note: Null pointer dereference cups-2.4.10/cups/testoptions.c:84:66: warning: Either the condition '(value=cupsGetOption("barfoo",num_options,options))==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] cups-2.4.10/cups/testoptions.c:81:70: note: Assuming that condition '(value=cupsGetOption("barfoo",num_options,options))==NULL' is not redundant cups-2.4.10/cups/testoptions.c:84:66: note: Null pointer dereference cups-2.4.10/cups/testoptions.c:90:78: warning: Either the condition '(value=cupsGetOption("auth-info",num_options,options))==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] cups-2.4.10/cups/testoptions.c:87:73: note: Assuming that condition '(value=cupsGetOption("auth-info",num_options,options))==NULL' is not redundant cups-2.4.10/cups/testoptions.c:90:78: note: Null pointer dereference cups-2.4.10/cups/testppd.c:343:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testppd.c:1406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testppd.c:1457:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testppd.c:1500:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1500:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1556:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1556:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1598:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1598:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1619:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1619:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1619:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1619:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1625:5: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1649:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1649:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1649:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1649:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1658:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1658:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1662:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1662:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1674:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1674:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1687:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1687:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1687:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1687:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1704:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1704:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1708:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1708:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1712:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1712:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1716:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1716:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1720:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1720:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1724:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1724:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1736:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1736:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1740:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1740:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1744:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1744:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1748:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1748:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1752:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1752:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1778:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1778:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testppd.c:1575:26: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testppd.c:1576:26: style: Parameter 'expected' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testpwg.c:72:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testpwg.c:358:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testpwg.c:420:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testpwg.c:33:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/cups/testraster.c:42:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_RASTER_WRITE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testraster.c:75:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testraster.c:143:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_RASTER_WRITE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testraster.c:106:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:205:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:353:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:385:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:422:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:455:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:492:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/cups/testraster.c:532:26: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testraster.c:533:26: style: Parameter 'expected' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/testsnmp.c:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testsnmp.c:160:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testsnmp.c:220:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testsnmp.c:40:11: style: Variable 'oid' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/testthreads.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEST_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testthreads.c:99:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEST_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testthreads.c:213:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_RES_PER_INCH [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/testthreads.c:55:28: style: Parameter '_name' can be declared as pointer to const. However it seems that 'enum_dests_cb' is a callback function, if '_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/cups/testthreads.c:44:55: note: You might need to cast the function pointer here cups-2.4.10/cups/testthreads.c:55:28: note: Parameter '_name' can be declared as pointer to const cups-2.4.10/cups/testthreads.c:241:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/thread.c:520:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/thread.c:393:34: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/thread.c:404:29: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/thread.c:415:30: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/thread.c:416:30: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] cups-2.4.10/cups/tls-darwin.c:791:77: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/tls-gnutls.c:658:77: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/tls-openssl.c:621:77: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/tls-sspi.c:322:77: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/cups/tls.c:74:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_TRUST_OK [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/transcode.c:102:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_UTF8 [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/transcode.c:223:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_UTF8 [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/transcode.c:355:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_MAX_USTRING [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/transcode.c:560:16: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/usersys.c:139:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_encryption_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:580:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_VERSION_MAJOR [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:871:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:1080:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_encryption_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:1226:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_encryption_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:1335:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable http_encryption_t [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:1470:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEFAULT_IPP_PORT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:1503:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPTION_NEVER [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/usersys.c:1285:7: warning: Return value of function getpwnam_r() is not used. [ignoredReturnValue] cups-2.4.10/cups/usersys.c:1291:7: warning: Return value of function getpwuid_r() is not used. [ignoredReturnValue] cups-2.4.10/cups/usersys.c:136:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/usersys.c:221:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/usersys.c:695:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/usersys.c:714:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/usersys.c:861:5: style: Variable 'passend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/util.c:43:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:173:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:306:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:355:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_CUPS_GET_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:400:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:711:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:761:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:804:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:922:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OP_SEND_DOCUMENT [valueFlowBailoutIncompleteVar] cups-2.4.10/cups/util.c:440:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/examples/ppdx.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/examples/ppdx.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_LINE [valueFlowBailoutIncompleteVar] cups-2.4.10/examples/ppdx.c:90:3: warning: Return value of function inflateInit() is not used. [ignoredReturnValue] cups-2.4.10/examples/ppdx.c:219:5: warning: Return value of function deflateInit() is not used. [ignoredReturnValue] cups-2.4.10/examples/ppdx.c:191:4: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/examples/testppdx.c:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/commandtops.c:57:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/commandtops.c:142:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_CMD_GET_BIDI [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/commandtops.c:420:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/commandtops.c:439:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/commandtops.c:305:17: style: Condition 'bytes==0' is always false [knownConditionTrueFalse] cups-2.4.10/filter/commandtops.c:296:104: note: Assuming that condition '(bytes=cupsBackChannelRead(bufptr,sizeof(buffer)-(unsigned long)(bufptr-buffer)-1,10.0))>0' is not redundant cups-2.4.10/filter/commandtops.c:305:17: note: Condition 'bytes==0' is always false cups-2.4.10/filter/commandtops.c:129:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/commandtops.c:413:22: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/commandtops.c:436:20: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/common.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/common.c:46:15: style: Variable 'pagesize' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/gziptoany.c:39:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:215:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:544:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:599:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:805:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1060:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1248:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1716:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1787:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1833:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1875:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_ORDER_PROLOG [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1921:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_ORDER_DOCUMENT [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:2026:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:2060:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:2130:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:2156:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:2447:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:2768:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:3351:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/pstops.c:1811:28: style: Parameter 'doc' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/pstops.c:2293:20: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/filter/pstops.c:2300:17: style: Variable 'option' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/pstops.c:3335:17: style: Variable 'option' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertoepson.c:99:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:357:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:603:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:766:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:935:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:998:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertoepson.c:565:42: warning: Either the condition 'plane>3' is redundant or the array 'ctable[6]' is accessed at index 6, which is out of bounds. [arrayIndexOutOfBoundsCond] cups-2.4.10/filter/rastertoepson.c:564:17: note: Assuming that condition 'plane>3' is not redundant cups-2.4.10/filter/rastertoepson.c:565:42: note: Array index out of bounds cups-2.4.10/filter/rastertoepson.c:419:15: style: Variable 'ctable' can be declared as const array [constVariable] cups-2.4.10/filter/rastertoepson.c:968:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/filter/rastertohp.c:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertohp.c:373:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertohp.c:545:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertohp.c:629:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertohp.c:668:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertohp.c:572:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertohp.c:75:31: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/rastertohp.c:76:32: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/rastertohp.c:429:11: style: Variable 'line_end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertohp.c:431:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertohp.c:554:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/rastertohp.c:639:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/filter/rastertolabel.c:119:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertolabel.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertolabel.c:452:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertolabel.c:777:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertolabel.c:1026:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertolabel.c:1121:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertolabel.c:793:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertolabel.c:877:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertolabel.c:890:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertolabel.c:89:19: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/rastertolabel.c:154:17: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertolabel.c:439:30: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/rastertolabel.c:442:17: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertolabel.c:740:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/filter/rastertolabel.c:913:11: style: Variable 'line_end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertolabel.c:915:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cups-2.4.10/filter/rastertopwg.c:67:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/filter/rastertopwg.c:123:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:152:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:159:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:168:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:205:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:248:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:438:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:459:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:459:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:469:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:477:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:488:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/filter/rastertopwg.c:454:12: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] cups-2.4.10/filter/rastertopwg.c:452:18: note: Assuming allocation function fails cups-2.4.10/filter/rastertopwg.c:452:18: note: Assignment 'line=malloc(linesize)', assigned value is 0 cups-2.4.10/filter/rastertopwg.c:454:12: note: Null pointer dereference cups-2.4.10/locale/checkpo.c:72:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _CUPS_MESSAGE_STRINGS [valueFlowBailoutIncompleteVar] cups-2.4.10/man/mantohtml.c:70:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/man/mantohtml.c:1054:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/man/mantohtml.c:142:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cups-2.4.10/man/mantohtml.c:44:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/monitor/bcp.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/monitor/bcp.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/monitor/bcp.c:39:15: style: Variable 'ppd' can be declared as pointer to const [constVariablePointer] cups-2.4.10/monitor/tbcp.c:47:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/monitor/tbcp.c:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/mailto.c:81:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/mailto.c:247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/mailto.c:421:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERROOT [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/mailto.c:563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/mailto.c:612:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/mailto.c:554:5: warning: Return value of function dup() is not used. [ignoredReturnValue] cups-2.4.10/notifier/mailto.c:557:5: warning: Return value of function dup() is not used. [ignoredReturnValue] cups-2.4.10/notifier/mailto.c:166:48: warning: Either the condition 'subject' is redundant or there is possible null pointer dereference: subject. [nullPointerRedundantCheck] cups-2.4.10/notifier/mailto.c:169:9: note: Assuming that condition 'subject' is not redundant cups-2.4.10/notifier/mailto.c:166:48: note: Null pointer dereference cups-2.4.10/notifier/mailto.c:167:45: warning: Either the condition 'text' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] cups-2.4.10/notifier/mailto.c:169:20: note: Assuming that condition 'text' is not redundant cups-2.4.10/notifier/mailto.c:167:45: note: Null pointer dereference cups-2.4.10/notifier/mailto.c:604:25: style: Parameter 'ipp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/notifier/rss.c:639:27: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/notifier/testnotify.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/testnotify.c:90:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/notifier/testnotify.c:31:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-2.4.10/notifier/testnotify.c:82:25: style: Parameter 'ipp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/ppdc/genstrings.cxx:178:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc.h:114:3: style: Class 'ppdcArray' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:132:3: style: Class 'ppdcString' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:145:3: style: Class 'ppdcInteger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:173:3: style: Class 'ppdcCatalog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:250:3: style: Class 'ppdcOption' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:270:3: style: Class 'ppdcGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:390:3: style: Class 'ppdcDriver' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:450:3: style: Class 'ppdcFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:476:3: style: Class 'ppdcSource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-2.4.10/ppdc/ppdc.h:115:4: style: The destructor '~ppdcArray' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:115:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:133:4: style: The destructor '~ppdcString' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:133:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:159:4: style: The destructor '~ppdcMessage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:159:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:174:4: style: The destructor '~ppdcCatalog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:174:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:197:4: style: The destructor '~ppdcAttr' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:197:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:215:4: style: The destructor '~ppdcFont' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:215:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:230:4: style: The destructor '~ppdcChoice' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:230:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:251:4: style: The destructor '~ppdcOption' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:251:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:271:4: style: The destructor '~ppdcGroup' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:271:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:291:4: style: The destructor '~ppdcConstraint' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:291:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:306:4: style: The destructor '~ppdcFilter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:306:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:330:4: style: The destructor '~ppdcMediaSize' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:330:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:347:4: style: The destructor '~ppdcProfile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:347:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:391:4: style: The destructor '~ppdcDriver' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:391:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:434:4: style: The destructor '~ppdcVariable' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:434:4: note: Destructor in derived class cups-2.4.10/ppdc/ppdc.h:477:4: style: The destructor '~ppdcSource' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cups-2.4.10/ppdc/ppdc.h:96:12: note: Virtual destructor in base class cups-2.4.10/ppdc/ppdc.h:477:4: note: Destructor in derived class cups-2.4.10/ppdc/genstrings.cxx:64:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:66:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:72:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:74:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:80:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:82:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:110:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:112:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:120:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:122:7: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:132:16: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:134:9: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:144:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/genstrings.cxx:146:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-array.cxx:35:7: warning: Class 'ppdcArray' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-array.cxx:35:7: warning: Class 'ppdcArray' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-array.cxx:106:15: style: Checking if unsigned expression 'count' is less than zero. [unsignedLessThanZero] cups-2.4.10/ppdc/ppdc-array.cxx:104:13: note: Assignment 'current=0', assigned value is 0 cups-2.4.10/ppdc/ppdc-array.cxx:106:15: note: Unsigned less than zero cups-2.4.10/ppdc/ppdc-array.cxx:22:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] cups-2.4.10/ppdc/ppdc-attr.cxx:31:3: warning: Class 'ppdcAttr' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-attr.cxx:31:3: warning: Class 'ppdcAttr' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-catalog.cxx:386:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc-catalog.cxx:54:3: warning: Class 'ppdcCatalog' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-catalog.cxx:54:3: warning: Class 'ppdcCatalog' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-catalog.cxx:182:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:184:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:220:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:222:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:250:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:384:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:387:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:399:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:464:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:481:26: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:509:19: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:531:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:549:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:551:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:752:26: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:760:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:768:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:791:26: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:804:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:815:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:828:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:853:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:941:27: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:954:27: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-catalog.cxx:125:22: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/ppdc/ppdc-catalog.cxx:685:17: style: Parameter 'ptr' can be declared as pointer to const [constParameterReference] cups-2.4.10/ppdc/ppdc-catalog.cxx:879:9: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] cups-2.4.10/ppdc/ppdc-choice.cxx:29:3: warning: Class 'ppdcChoice' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-choice.cxx:29:3: warning: Class 'ppdcChoice' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-constraint.cxx:30:3: warning: Class 'ppdcConstraint' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-constraint.cxx:30:3: warning: Class 'ppdcConstraint' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-driver.cxx:418:64: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/ppdc/ppdc-file.cxx:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc-file.cxx:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc-file.cxx:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc-file.cxx:38:29: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-filter.cxx:29:3: warning: Class 'ppdcFilter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-filter.cxx:29:3: warning: Class 'ppdcFilter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-font.cxx:31:3: warning: Class 'ppdcFont' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-font.cxx:31:3: warning: Class 'ppdcFont' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-group.cxx:27:3: warning: Class 'ppdcGroup' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-group.cxx:27:3: warning: Class 'ppdcGroup' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-group.cxx:48:24: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-group.cxx:50:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-group.cxx:82:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-group.cxx:82:51: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-import.cxx:258:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc-import.cxx:255:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cups-2.4.10/ppdc/ppdc-import.cxx:258:26: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-import.cxx:30:8: style: The scope of the variable 'cost' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdc-import.cxx:40:15: style: The scope of the variable 'filter' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdc-import.cxx:42:14: style: The scope of the variable 'cgroup' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdc-import.cxx:159:17: style: Variable 'region_choice' can be declared as pointer to const [constVariablePointer] cups-2.4.10/ppdc/ppdc-import.cxx:160:10: style: Variable 'size_choice' can be declared as pointer to const [constVariablePointer] cups-2.4.10/ppdc/ppdc-mediasize.cxx:36:3: warning: Class 'ppdcMediaSize' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-mediasize.cxx:36:3: warning: Class 'ppdcMediaSize' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-message.cxx:28:3: warning: Class 'ppdcMessage' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-message.cxx:28:3: warning: Class 'ppdcMessage' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-option.cxx:32:3: warning: Class 'ppdcOption' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-option.cxx:32:3: warning: Class 'ppdcOption' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-option.cxx:90:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-option.cxx:90:51: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc-profile.cxx:31:3: warning: Class 'ppdcProfile' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-profile.cxx:31:3: warning: Class 'ppdcProfile' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-source.cxx:3459:44: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/ppdc/ppdc-string.cxx:31:5: warning: Class 'ppdcString' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-string.cxx:31:5: warning: Class 'ppdcString' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc-variable.cxx:28:3: warning: Class 'ppdcVariable' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cups-2.4.10/ppdc/ppdc-variable.cxx:28:3: warning: Class 'ppdcVariable' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cups-2.4.10/ppdc/ppdc.cxx:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc.cxx:424:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdc.cxx:334:16: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] cups-2.4.10/ppdc/ppdc.cxx:103:5: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:116:19: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:125:19: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:138:5: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:177:21: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:188:7: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:240:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:255:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:262:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:264:7: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:276:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:292:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:298:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:354:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:363:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:369:28: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:381:34: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:383:21: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:424:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:426:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:427:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:429:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:431:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:433:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:435:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:437:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:439:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:441:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:442:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:444:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:446:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:448:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdc.cxx:36:12: style: The scope of the variable 'j' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdc.cxx:41:17: style: The scope of the variable 'fp' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdc.cxx:47:4: style: The scope of the variable 'pcfilename' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdhtml.cxx:171:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdhtml.cxx:92:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:100:16: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:100:56: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:101:11: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:101:53: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:107:11: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:114:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:114:76: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:119:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:119:58: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:123:19: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:124:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:128:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:129:13: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:133:13: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:134:13: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:171:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:173:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:174:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:176:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdhtml.cxx:38:14: style: The scope of the variable 'g' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdhtml.cxx:39:4: style: The scope of the variable 'composite' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdhtml.cxx:42:15: style: The scope of the variable 'c' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdhtml.cxx:44:18: style: The scope of the variable 'size' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdi.cxx:117:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdi.cxx:117:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdi.cxx:119:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdi.cxx:120:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdi.cxx:122:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:86:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdmerge.cxx:354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdmerge.cxx:86:33: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:102:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:126:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:147:22: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:163:26: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:180:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:182:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:186:34: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:193:31: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:212:17: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:215:22: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:227:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:229:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:354:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:356:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:357:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdmerge.cxx:293:10: style: The scope of the variable 'vlen' can be reduced. [variableScope] cups-2.4.10/ppdc/ppdpo.cxx:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdpo.cxx:241:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/ppdc/ppdpo.cxx:82:19: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:111:18: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:118:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:124:26: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:128:11: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:165:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:167:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:175:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:177:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:185:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:187:7: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:197:16: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:199:9: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:209:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:211:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:241:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:243:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:244:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:246:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/ppdpo.cxx:248:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/testcatalog.cxx:41:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/ppdc/testcatalog.cxx:43:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/auth.c:165:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _cupsStrAlloc [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/auth.c:262:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_VALUE [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/auth.c:1012:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/auth.c:1311:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/auth.c:1378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/auth.c:1576:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/auth.c:644:12: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cups-2.4.10/scheduler/auth.c:689:14: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] cups-2.4.10/scheduler/auth.c:1159:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/auth.c:1744:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cups-2.4.10/scheduler/auth.c:1838:76: style: Condition 'check_admin_access(con)' is always true [knownConditionTrueFalse] cups-2.4.10/scheduler/auth.c:1838:76: note: Calling function 'check_admin_access' returns 1 cups-2.4.10/scheduler/auth.c:1838:76: note: Condition 'check_admin_access(con)' is always true cups-2.4.10/scheduler/auth.c:1881:74: style: Condition 'check_admin_access(con)' is always true [knownConditionTrueFalse] cups-2.4.10/scheduler/auth.c:1881:74: note: Calling function 'check_admin_access' returns 1 cups-2.4.10/scheduler/auth.c:1881:74: note: Condition 'check_admin_access(con)' is always true cups-2.4.10/scheduler/auth.c:952:22: style:inconclusive: Function 'cupsdCheckAuth' argument 3 names different: declaration 'namelen' definition 'name_len'. [funcArgNamesDifferent] cups-2.4.10/scheduler/auth.h:126:69: note: Function 'cupsdCheckAuth' argument 3 names different: declaration 'namelen' definition 'name_len'. cups-2.4.10/scheduler/auth.c:952:22: note: Function 'cupsdCheckAuth' argument 3 names different: declaration 'namelen' definition 'name_len'. cups-2.4.10/scheduler/auth.c:2216:33: style:inconclusive: Function 'copy_authmask' argument 1 names different: declaration 'am' definition 'mask'. [funcArgNamesDifferent] cups-2.4.10/scheduler/auth.c:74:58: note: Function 'copy_authmask' argument 1 names different: declaration 'am' definition 'mask'. cups-2.4.10/scheduler/auth.c:2216:33: note: Function 'copy_authmask' argument 1 names different: declaration 'am' definition 'mask'. cups-2.4.10/scheduler/auth.c:2255:33: style:inconclusive: Function 'free_authmask' argument 1 names different: declaration 'am' definition 'mask'. [funcArgNamesDifferent] cups-2.4.10/scheduler/auth.c:75:46: note: Function 'free_authmask' argument 1 names different: declaration 'am' definition 'mask'. cups-2.4.10/scheduler/auth.c:2255:33: note: Function 'free_authmask' argument 1 names different: declaration 'am' definition 'mask'. cups-2.4.10/scheduler/auth.c:637:14: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/auth.c:638:22: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/auth.c:950:29: style: Parameter 'ip' can be declared as const array [constParameter] cups-2.4.10/scheduler/auth.c:2204:37: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_locations' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/auth.c:139:50: note: You might need to cast the function pointer here cups-2.4.10/scheduler/auth.c:2204:37: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/scheduler/auth.c:2205:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_locations' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/auth.c:139:50: note: You might need to cast the function pointer here cups-2.4.10/scheduler/auth.c:2205:37: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/scheduler/auth.c:2216:33: style: Parameter 'mask' can be declared as pointer to const. However it seems that 'copy_authmask' is a callback function, if 'mask' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/auth.c:245:26: note: You might need to cast the function pointer here cups-2.4.10/scheduler/auth.c:2216:33: note: Parameter 'mask' can be declared as pointer to const cups-2.4.10/scheduler/banners.c:71:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/banners.c:53:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/banners.c:55:4: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cert.c:77:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/classes.c:684:54: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/client.c:573:137: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/colorman.c:140:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/colorman.c:200:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/conf.c:261:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:569:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:1781:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:1922:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:2083:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPT_NEVER [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:2939:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_BUFFER [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:3455:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_BUFFER [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:3778:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_BUFFER [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:3898:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_BUFFER [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:4170:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_VALIDATE_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/conf.c:661:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cups-2.4.10/scheduler/conf.c:679:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/conf.c:690:13: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/conf.c:908:19: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cups-2.4.10/scheduler/conf.c:966:15: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] cups-2.4.10/scheduler/conf.c:1041:15: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/conf.c:2570:13: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/conf.c:3519:10: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/conf.c:3544:10: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cups-2.4.10/scheduler/conf.c:3720:6: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cups-2.4.10/scheduler/conf.c:3773:28: style:inconclusive: Function 'read_location' argument 2 names different: declaration 'name' definition 'location'. [funcArgNamesDifferent] cups-2.4.10/scheduler/conf.c:196:50: note: Function 'read_location' argument 2 names different: declaration 'name' definition 'location'. cups-2.4.10/scheduler/conf.c:3773:28: note: Function 'read_location' argument 2 names different: declaration 'name' definition 'location'. cups-2.4.10/scheduler/conf.c:3890:26: style:inconclusive: Function 'read_policy' argument 2 names different: declaration 'name' definition 'policy'. [funcArgNamesDifferent] cups-2.4.10/scheduler/conf.c:197:48: note: Function 'read_policy' argument 2 names different: declaration 'name' definition 'policy'. cups-2.4.10/scheduler/conf.c:3890:26: note: Function 'read_policy' argument 2 names different: declaration 'name' definition 'policy'. cups-2.4.10/scheduler/conf.c:533:16: style: Variable 'language' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/conf.c:534:18: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/conf.c:535:17: style: Variable 'group' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/conf.c:2530:17: style: Variable 'group' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/conf.c:3457:17: style: Variable 'group' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/conf.c:3717:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/conf.c:1798:11: style: Unused variable: j [unusedVariable] cups-2.4.10/scheduler/conf.c:1801:12: style: Unused variable: ipval [unusedVariable] cups-2.4.10/scheduler/conf.c:1803:4: style: Unused variable: ptr [unusedVariable] cups-2.4.10/scheduler/conf.c:1804:4: style: Unused variable: ptr2 [unusedVariable] cups-2.4.10/scheduler/cups-deviced.c:141:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-deviced.c:365:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-deviced.c:605:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-deviced.c:687:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-deviced.c:744:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-deviced.c:504:19: style: Condition 'isspace(*ptr&255)' is always false [knownConditionTrueFalse] cups-2.4.10/scheduler/cups-deviced.c:501:18: note: Assuming that condition 'isspace(*ptr&255)' is not redundant cups-2.4.10/scheduler/cups-deviced.c:504:19: note: Condition 'isspace(*ptr&255)' is always false cups-2.4.10/scheduler/cups-deviced.c:518:19: style: Condition 'isspace(*ptr&255)' is always false [knownConditionTrueFalse] cups-2.4.10/scheduler/cups-deviced.c:515:18: note: Assuming that condition 'isspace(*ptr&255)' is not redundant cups-2.4.10/scheduler/cups-deviced.c:518:19: note: Condition 'isspace(*ptr&255)' is always false cups-2.4.10/scheduler/cups-deviced.c:431:33: style:inconclusive: Function 'compare_devices' argument 1 names different: declaration 'p0' definition 'd0'. [funcArgNamesDifferent] cups-2.4.10/scheduler/cups-deviced.c:93:45: note: Function 'compare_devices' argument 1 names different: declaration 'p0' definition 'd0'. cups-2.4.10/scheduler/cups-deviced.c:431:33: note: Function 'compare_devices' argument 1 names different: declaration 'p0' definition 'd0'. cups-2.4.10/scheduler/cups-deviced.c:432:33: style:inconclusive: Function 'compare_devices' argument 2 names different: declaration 'p1' definition 'd1'. [funcArgNamesDifferent] cups-2.4.10/scheduler/cups-deviced.c:94:36: note: Function 'compare_devices' argument 2 names different: declaration 'p1' definition 'd1'. cups-2.4.10/scheduler/cups-deviced.c:432:33: note: Function 'compare_devices' argument 2 names different: declaration 'p1' definition 'd1'. cups-2.4.10/scheduler/cups-deviced.c:733:27: style:inconclusive: Function 'start_backend' argument 1 names different: declaration 'backend' definition 'name'. [funcArgNamesDifferent] cups-2.4.10/scheduler/cups-deviced.c:99:39: note: Function 'start_backend' argument 1 names different: declaration 'backend' definition 'name'. cups-2.4.10/scheduler/cups-deviced.c:733:27: note: Function 'start_backend' argument 1 names different: declaration 'backend' definition 'name'. cups-2.4.10/scheduler/cups-deviced.c:476:3: style: Variable 'dclass' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-deviced.c:477:3: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-deviced.c:478:3: style: Variable 'make_model' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-deviced.c:479:3: style: Variable 'info' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-deviced.c:480:3: style: Variable 'device_id' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-deviced.c:481:3: style: Variable 'location' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-driverd.cxx:215:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:329:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:444:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:578:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OK [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:639:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OK [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:870:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:1052:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:1619:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:1747:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2162:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2386:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2602:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CACHEDIR [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2696:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2735:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2781:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2884:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-driverd.cxx:2037:7: warning:inconclusive: Width 127 given in format string (no. 1) is smaller than destination buffer 'model_name[256]'. [invalidScanfFormatWidth_smaller] cups-2.4.10/scheduler/cups-driverd.cxx:251:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:356:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:358:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:372:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:374:13: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:535:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:536:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:801:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:803:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:827:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:829:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1113:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1115:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1145:25: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1147:19: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1149:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1150:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1240:46: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1255:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1257:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1259:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1261:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1263:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1265:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1267:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1269:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1271:43: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1305:17: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1307:10: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1423:17: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1425:10: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1445:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1447:15: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1553:34: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1560:23: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1562:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1637:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1639:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1670:21: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1673:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1681:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1684:13: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1763:13: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1785:21: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1787:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1812:21: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:1814:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2146:23: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2288:82: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2288:116: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2313:38: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2315:40: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2329:35: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2335:35: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2340:21: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2342:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2403:20: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2504:12: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2514:22: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2521:22: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2616:34: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2628:14: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2635:23: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2724:35: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2857:23: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:2909:23: style: C-style pointer casting [cstyleCast] cups-2.4.10/scheduler/cups-driverd.cxx:317:16: style: The scope of the variable 'out' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:435:3: style: The scope of the variable 'message' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:614:3: style: The scope of the variable 'next' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:849:15: style: The scope of the variable 'datadir' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:1015:16: style: The scope of the variable 'fp' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:1046:12: style: The scope of the variable 'device_id_re' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:1047:4: style: The scope of the variable 'make_and_model_re' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:1601:4: style: The scope of the variable 'cups_fax' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:1602:4: style: The scope of the variable 'nick_name' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:2589:15: style: The scope of the variable 'ppd' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:2592:15: style: The scope of the variable 'cups_cachedir' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:2670:15: style: The scope of the variable 'curext' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:2672:10: style: The scope of the variable 'next' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:2778:8: style: The scope of the variable 'cmd' can be reduced. [variableScope] cups-2.4.10/scheduler/cups-driverd.cxx:705:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_inodes' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/cups-driverd.cxx:1070:44: note: You might need to cast the function pointer here cups-2.4.10/scheduler/cups-driverd.cxx:705:29: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/scheduler/cups-driverd.cxx:706:29: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_inodes' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/cups-driverd.cxx:1070:44: note: You might need to cast the function pointer here cups-2.4.10/scheduler/cups-driverd.cxx:706:29: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/scheduler/cups-driverd.cxx:1046:12: style: Variable 'device_id_re' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-driverd.cxx:1047:4: style: Variable 'make_and_model_re' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-driverd.cxx:1956:23: style: Parameter 'fileinfo' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/cups-driverd.cxx:2374:4: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cups-driverd.cxx:95:17: style: union member 'tar_rec_t::all' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:99:3: style: struct member 'Anonymous0::mode' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:100:3: style: struct member 'Anonymous0::uid' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:101:3: style: struct member 'Anonymous0::gid' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:104:3: style: struct member 'Anonymous0::chksum' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:106:3: style: struct member 'Anonymous0::linkname' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:109:3: style: struct member 'Anonymous0::uname' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:110:3: style: struct member 'Anonymous0::gname' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:111:3: style: struct member 'Anonymous0::devmajor' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-driverd.cxx:112:3: style: struct member 'Anonymous0::devminor' is never used. [unusedStructMember] cups-2.4.10/scheduler/cups-exec.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-exec.c:199:121: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:421:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:717:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:808:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:1222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:1320:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:1582:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/cups-lpd.c:767:20: style:inconclusive: Function 'recv_print_job' argument 1 names different: declaration 'name' definition 'queue'. [funcArgNamesDifferent] cups-2.4.10/scheduler/cups-lpd.c:65:39: note: Function 'recv_print_job' argument 1 names different: declaration 'name' definition 'queue'. cups-2.4.10/scheduler/cups-lpd.c:767:20: note: Function 'recv_print_job' argument 1 names different: declaration 'name' definition 'queue'. cups-2.4.10/scheduler/cups-lpd.c:1215:25: style:inconclusive: Function 'remove_jobs' argument 1 names different: declaration 'name' definition 'dest'. [funcArgNamesDifferent] cups-2.4.10/scheduler/cups-lpd.c:67:36: note: Function 'remove_jobs' argument 1 names different: declaration 'name' definition 'dest'. cups-2.4.10/scheduler/cups-lpd.c:1215:25: note: Function 'remove_jobs' argument 1 names different: declaration 'name' definition 'dest'. cups-2.4.10/scheduler/cups-lpd.c:1299:24: style:inconclusive: Function 'send_state' argument 1 names different: declaration 'name' definition 'queue'. [funcArgNamesDifferent] cups-2.4.10/scheduler/cups-lpd.c:69:35: note: Function 'send_state' argument 1 names different: declaration 'name' definition 'queue'. cups-2.4.10/scheduler/cups-lpd.c:1299:24: note: Function 'send_state' argument 1 names different: declaration 'name' definition 'queue'. cups-2.4.10/scheduler/cups-lpd.c:1568:3: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/cupsfilter.c:1482:45: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_BINDIR is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/dirsvc.c:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_PRINTER_REMOTE [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/dirsvc.c:125:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_PRINTER_REMOTE [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/env.c:223:39: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_BINDIR is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/file.c:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/file.c:102:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/file.c:186:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/file.c:219:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/file.c:262:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/file.c:335:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/file.c:36:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/filter.c:307:23: style:inconclusive: Function 'mime_find_filters' argument 6 names different: declaration 'visited' definition 'list'. [funcArgNamesDifferent] cups-2.4.10/scheduler/filter.c:46:40: note: Function 'mime_find_filters' argument 6 names different: declaration 'visited' definition 'list'. cups-2.4.10/scheduler/filter.c:307:23: note: Function 'mime_find_filters' argument 6 names different: declaration 'visited' definition 'list'. cups-2.4.10/scheduler/filter.c:263:37: style: Parameter 'f0' can be declared as pointer to const. However it seems that 'mime_compare_filters' is a callback function, if 'f0' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/filter.c:106:55: note: You might need to cast the function pointer here cups-2.4.10/scheduler/filter.c:263:37: note: Parameter 'f0' can be declared as pointer to const cups-2.4.10/scheduler/filter.c:264:37: style: Parameter 'f1' can be declared as pointer to const. However it seems that 'mime_compare_filters' is a callback function, if 'f1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/filter.c:106:55: note: You might need to cast the function pointer here cups-2.4.10/scheduler/filter.c:264:37: note: Parameter 'f1' can be declared as pointer to const cups-2.4.10/scheduler/filter.c:283:34: style: Parameter 'f0' can be declared as pointer to const. However it seems that 'mime_compare_srcs' is a callback function, if 'f0' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/filter.c:198:50: note: You might need to cast the function pointer here cups-2.4.10/scheduler/filter.c:283:34: note: Parameter 'f0' can be declared as pointer to const cups-2.4.10/scheduler/filter.c:284:34: style: Parameter 'f1' can be declared as pointer to const. However it seems that 'mime_compare_srcs' is a callback function, if 'f1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/filter.c:198:50: note: You might need to cast the function pointer here cups-2.4.10/scheduler/filter.c:284:34: note: Parameter 'f1' can be declared as pointer to const cups-2.4.10/scheduler/filter.c:389:18: style: Variable 'current_dst' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/ipp.c:11798:105: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/job.c:2216:44: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/listen.c:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/listen.c:164:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/log.c:1195:56: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/main.c:175:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/main.c:1531:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_TEXT [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/main.c:2134:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/main.c:2151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/main.c:654:7: style: Condition '!fg' is always false [knownConditionTrueFalse] cups-2.4.10/scheduler/mime.c:303:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/mime.c:363:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/mime.c:664:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/mime.c:853:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/mime.c:277:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/mime.c:348:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/mime.c:581:37: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mime_compare_fcache' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/mime.c:311:49: note: You might need to cast the function pointer here cups-2.4.10/scheduler/mime.c:581:37: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/scheduler/mime.c:582:32: style: Parameter 'b' can be declared as pointer to const. However it seems that 'mime_compare_fcache' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/mime.c:311:49: note: You might need to cast the function pointer here cups-2.4.10/scheduler/mime.c:582:32: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/scheduler/mime.c:851:4: style: Variable 'lineptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/network.c:127:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/network.c:290:30: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_netif' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/network.c:116:49: note: You might need to cast the function pointer here cups-2.4.10/scheduler/network.c:290:30: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/scheduler/network.c:291:30: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_netif' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/network.c:116:49: note: You might need to cast the function pointer here cups-2.4.10/scheduler/network.c:291:30: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/scheduler/policy.c:120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_SERVER_ERROR [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/policy.c:329:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/policy.c:336:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cups-2.4.10/scheduler/policy.c:258:22: style:inconclusive: Function 'cupsdGetPrivateAttrs' argument 1 names different: declaration 'p' definition 'policy'. [funcArgNamesDifferent] cups-2.4.10/scheduler/policy.h:48:59: note: Function 'cupsdGetPrivateAttrs' argument 1 names different: declaration 'p' definition 'policy'. cups-2.4.10/scheduler/policy.c:258:22: note: Function 'cupsdGetPrivateAttrs' argument 1 names different: declaration 'p' definition 'policy'. cups-2.4.10/scheduler/policy.c:453:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_ops' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/policy.c:80:47: note: You might need to cast the function pointer here cups-2.4.10/scheduler/policy.c:453:31: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/scheduler/policy.c:454:31: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_ops' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/policy.c:80:47: note: You might need to cast the function pointer here cups-2.4.10/scheduler/policy.c:454:31: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/scheduler/policy.c:494:27: style: Parameter 'op' can be declared as pointer to const. However it seems that 'hash_op' is a callback function, if 'op' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/policy.c:81:47: note: You might need to cast the function pointer here cups-2.4.10/scheduler/policy.c:494:27: note: Parameter 'op' can be declared as pointer to const cups-2.4.10/scheduler/printers.c:1437:56: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/process.c:450:84: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_LLFMT is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/quotas.c:149:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_INTEGER [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/select.c:892:26: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_fds' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/select.c:793:47: note: You might need to cast the function pointer here cups-2.4.10/scheduler/select.c:892:26: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/scheduler/select.c:893:26: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_fds' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/scheduler/select.c:793:47: note: You might need to cast the function pointer here cups-2.4.10/scheduler/select.c:893:26: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/scheduler/statbuf.c:143:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/subscriptions.c:1047:61: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/sysman.c:114:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/testlpd.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testlpd.c:251:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testlpd.c:461:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testlpd.c:504:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testlpd.c:112:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] cups-2.4.10/scheduler/testlpd.c:113:3: warning: Return value of function pipe() is not used. [ignoredReturnValue] cups-2.4.10/scheduler/testlpd.c:102:51: warning: Possible null pointer dereference: op [nullPointer] cups-2.4.10/scheduler/testlpd.c:62:21: note: Assignment 'op=NULL', assigned value is 0 cups-2.4.10/scheduler/testlpd.c:68:17: note: Assuming condition is false cups-2.4.10/scheduler/testlpd.c:102:51: note: Null pointer dereference cups-2.4.10/scheduler/testlpd.c:102:55: warning: Possible null pointer dereference: dest [nullPointer] cups-2.4.10/scheduler/testlpd.c:64:21: note: Assignment 'dest=NULL', assigned value is 0 cups-2.4.10/scheduler/testlpd.c:68:17: note: Assuming condition is false cups-2.4.10/scheduler/testlpd.c:102:55: note: Null pointer dereference cups-2.4.10/scheduler/testlpd.c:47:9: style: Variable 'op' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/testlpd.c:227:10: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/testlpd.c:236:10: style: Variable 'jobname' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/testlpd.c:380:14: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/testlpd.c:402:11: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/testlpd.c:433:12: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/testlpd.c:476:13: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/testmime.c:60:30: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SERVERBIN is a macro then please configure it. [unknownMacro] cups-2.4.10/scheduler/testspeed.c:68:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPT_IF_REQUESTED [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testspeed.c:272:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testsub.c:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ENCRYPT_REQUIRED [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testsub.c:375:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/testsub.c:288:25: style: Parameter 'ipp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/scheduler/type.c:128:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/type.c:527:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/type.c:1152:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/type.c:761:18: style: Variable 'bufptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/scheduler/util.c:257:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/util.c:393:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/util.c:430:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/scheduler/util.c:447:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_END [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cancel.c:56:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_CANCEL_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cancel.c:403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cancel.c:41:4: style: Variable 'job' can be declared as pointer to const [constVariablePointer] cups-2.4.10/systemv/cupsaccept.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ACCEPT_JOBS [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupsaccept.c:243:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupsctl.c:93:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVER_DEBUG_LOGGING [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupsctl.c:223:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_CONFORM_STRICT [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:1673:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:1748:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:2074:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:2178:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:2268:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:2346:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3001:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3419:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3787:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3811:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3854:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:3937:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/cupstestppd.c:2168:17: style: Variable 'option' can be declared as pointer to const [constVariablePointer] cups-2.4.10/systemv/cupstestppd.c:3415:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/systemv/cupstestppd.c:3884:18: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] cups-2.4.10/systemv/lp.c:99:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lp.c:662:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lp.c:710:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lp.c:755:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:89:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:688:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:806:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:855:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:909:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:1055:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:1106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:1179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:1229:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:1515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpadmin.c:59:3: style: Variable 'evefile' can be declared as const array [constVariable] cups-2.4.10/systemv/lpinfo.c:67:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_INCLUDE_ALL [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpinfo.c:273:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpinfo.c:299:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpinfo.c:338:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_PPDS [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpinfo.c:496:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpinfo.c:262:8: style: Variable 'long_status' can be declared as pointer to const [constVariablePointer] cups-2.4.10/systemv/lpmove.c:70:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpmove.c:150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpmove.c:215:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpoptions.c:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpoptions.c:468:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpoptions.c:491:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DEST_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpoptions.c:535:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpoptions.c:386:25: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] cups-2.4.10/systemv/lpoptions.c:411:23: style: Variable 'cparam' can be declared as pointer to const [constVariablePointer] cups-2.4.10/systemv/lpstat.c:91:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:542:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_HTTP_DEFAULT [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:713:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_PRINTERS [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:872:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:1091:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:1162:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_PRINTERS [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:1354:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_JOBS [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:1569:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:2068:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:2087:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/systemv/lpstat.c:1486:48: style: Redundant condition: reasons. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] cups-2.4.10/tools/ippevepcl.c:60:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippevepcl.c:97:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippevepcl.c:246:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippevepcl.c:268:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippevepcl.c:447:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippevepcl.c:473:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippevepcl.c:213:24: style: Condition 'header->Duplex' is always true [knownConditionTrueFalse] cups-2.4.10/tools/ippevepcl.c:218:18: style: Condition 'header->Duplex' is always true [knownConditionTrueFalse] cups-2.4.10/tools/ippevepcl.c:246:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/tools/ippevepcl.c:442:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-2.4.10/tools/ippevepcl.c:90:26: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/tools/ippevepcl.c:305:26: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-2.4.10/tools/ippevepcl.c:313:4: style: Variable 'outend' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippevepcl.c:314:4: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SVERSION [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:843:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:922:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_JOB [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:1111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:1133:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_JSTATE_CANCELED [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:1253:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_NAME [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:1368:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_PRINTER [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:1629:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2050:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2091:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2343:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2362:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_URI [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2409:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_INTERNAL [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2554:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_BAD_REQUEST [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2814:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_POST_RECV [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:2832:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_STATE_POST_RECV [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_NOT_FOUND [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_JSTATE_CANCELED [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3298:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_NOT_FOUND [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3355:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_BAD_REQUEST [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3410:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_NOT_FOUND [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3447:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_KEYWORD [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3626:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_PRINTER [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3758:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_KEYWORD [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3813:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_BAD_REQUEST [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3861:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_BUSY [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3894:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_NOT_FOUND [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:3994:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_NOT_FOUND [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:4204:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:4232:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_PRINTER [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:4590:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_PRINTER [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:5117:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:5802:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:5893:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_HOST [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:6383:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:6635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_JSTATE_PROCESSING [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:7510:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:7617:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:7645:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_TEXT [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:7673:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:7705:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:7845:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_BEGIN_COLLECTION [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:8167:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_PSTATE_PROCESSING [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:8276:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_STRING [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:8452:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:8517:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:8663:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_ZERO [valueFlowBailoutIncompleteVar] cups-2.4.10/tools/ippeveprinter.c:6689:29: style: Array index 'myenvc' is used before limits check. [arrayIndexThenCheck] cups-2.4.10/tools/ippeveprinter.c:5937:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cups-2.4.10/tools/ippeveprinter.c:2010:7: style: Condition '!register_printer(printer)' is always false [knownConditionTrueFalse] cups-2.4.10/tools/ippeveprinter.c:2010:24: note: Calling function 'register_printer' returns 1 cups-2.4.10/tools/ippeveprinter.c:2010:7: note: Condition '!register_printer(printer)' is always false cups-2.4.10/tools/ippeveprinter.c:1241:23: style:inconclusive: Function 'create_job_file' argument 4 names different: declaration 'dir' definition 'directory'. [funcArgNamesDifferent] cups-2.4.10/tools/ippeveprinter.c:282:91: note: Function 'create_job_file' argument 4 names different: declaration 'dir' definition 'directory'. cups-2.4.10/tools/ippeveprinter.c:1241:23: note: Function 'create_job_file' argument 4 names different: declaration 'dir' definition 'directory'. cups-2.4.10/tools/ippeveprinter.c:2039:29: style:inconclusive: Function 'debug_attributes' argument 3 names different: declaration 'response' definition 'type'. [funcArgNamesDifferent] cups-2.4.10/tools/ippeveprinter.c:287:66: note: Function 'debug_attributes' argument 3 names different: declaration 'response' definition 'type'. cups-2.4.10/tools/ippeveprinter.c:2039:29: note: Function 'debug_attributes' argument 3 names different: declaration 'response' definition 'type'. cups-2.4.10/tools/ippeveprinter.c:7503:20: style:inconclusive: Function 'respond_http' argument 3 names different: declaration 'content_coding' definition 'content_encoding'. [funcArgNamesDifferent] cups-2.4.10/tools/ippeveprinter.c:337:83: note: Function 'respond_http' argument 3 names different: declaration 'content_coding' definition 'content_encoding'. cups-2.4.10/tools/ippeveprinter.c:7503:20: note: Function 'respond_http' argument 3 names different: declaration 'content_coding' definition 'content_encoding'. cups-2.4.10/tools/ippeveprinter.c:755:22: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] cups-2.4.10/tools/ippeveprinter.c:884:28: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_jobs' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/tools/ippeveprinter.c:1675:61: note: You might need to cast the function pointer here cups-2.4.10/tools/ippeveprinter.c:884:28: note: Parameter 'a' can be declared as pointer to const cups-2.4.10/tools/ippeveprinter.c:885:28: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_jobs' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-2.4.10/tools/ippeveprinter.c:1675:61: note: You might need to cast the function pointer here cups-2.4.10/tools/ippeveprinter.c:885:28: note: Parameter 'b' can be declared as pointer to const cups-2.4.10/tools/ippeveprinter.c:1445:20: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:2967:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:5008:15: style: Variable 'ppd_size' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:6355:20: style: Variable 'language' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:7186:23: style: Parameter 'printer' can be declared as pointer to const [constParameterPointer] cups-2.4.10/tools/ippeveprinter.c:7823:5: style: Variable 'tray_ptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:7918:18: style: Variable 'media' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveprinter.c:8239:4: style: Variable 'supply_ptr' can be declared as pointer to const [constVariablePointer] cups-2.4.10/tools/ippeveps.c:869:28: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SERVERBIN is a macro then please configure it. [unknownMacro] cups-2.4.10/tools/ippfind.c:172:23: error: There is an unknown macro here somewhere. Configuration is required. If get_service is a macro then please configure it. [unknownMacro] cups-2.4.10/tools/ipptool.c:4035:44: error: There is an unknown macro here somewhere. Configuration is required. If CUPS_SVERSION is a macro then please configure it. [unknownMacro] cups-2.4.10/vcnet/regex/debug.c:19:10: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/debug.c:95:8: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/debug.c:55:23: warning: Uninitialized variable: nincat [uninitvar] cups-2.4.10/vcnet/regex/debug.c:49:16: note: Assuming condition is false cups-2.4.10/vcnet/regex/debug.c:55:23: note: Uninitialized variable: nincat cups-2.4.10/vcnet/regex/engine.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/engine.c:286:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CH [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/engine.c:483:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/engine.c:662:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/engine.c:752:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/engine.c:842:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/engine.c:267:8: style: Variable 'tail' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/engine.c:273:8: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/engine.c:453:8: style: Variable 'ssp' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/engine.c:646:7: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/engine.c:735:7: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/main.c:51:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/main.c:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/main.c:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/main.c:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-2.4.10/vcnet/regex/main.c:240:46: warning: Either the condition 'strchr(f2,'(')==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] cups-2.4.10/vcnet/regex/main.c:238:23: note: Assuming that condition 'strchr(f2,'(')==NULL' is not redundant cups-2.4.10/vcnet/regex/main.c:240:46: note: Null pointer subtraction cups-2.4.10/vcnet/regex/main.c:241:46: warning: Either the condition 'strchr(f2,')')==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] cups-2.4.10/vcnet/regex/main.c:238:50: note: Assuming that condition 'strchr(f2,')')==NULL' is not redundant cups-2.4.10/vcnet/regex/main.c:241:46: note: Null pointer subtraction cups-2.4.10/vcnet/regex/main.c:307:9: style: Local variable 'opt' shadows outer function [shadowFunction] cups-2.4.10/vcnet/regex/main.c:27:12: note: Shadowed declaration cups-2.4.10/vcnet/regex/main.c:307:9: note: Shadow variable cups-2.4.10/vcnet/regex/main.c:121:8: style: Variable 'badpat' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/main.c:188:7: style: Parameter 'f0' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/main.c:204:8: style: Variable 'type' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/main.c:206:8: style: Variable 'grump' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/main.c:359:8: style: Variable 'legal' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/main.c:411:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/main.c:448:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/main.c:450:8: style: Variable 'at' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/main.c:534:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/main.c:277:11: style: Variable 'nshould' is assigned a value that is never used. [unreadVariable] cups-2.4.10/vcnet/regex/main.c:286:8: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cups-2.4.10/vcnet/regex/regcomp.c:1678:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/regcomp.c:768:8: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/regcomp.c:1193:8: style: Variable 'top' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/regcomp.c:1218:8: style: Variable 'top' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/regcomp.c:1247:7: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/regcomp.c:1265:7: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/regcomp.c:1284:7: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/regcomp.c:1432:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/regcomp.c:1611:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/regcomp.c:1691:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/regcomp.c:1694:7: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/regerror.c:33:52: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/engine.c:660:2: style: Redundant initialization for 'st'. The initialized value is overwritten before it is read. [redundantInitialization] cups-2.4.10/vcnet/regex/engine.c:650:12: note: st is initialized cups-2.4.10/vcnet/regex/engine.c:660:2: note: st is overwritten cups-2.4.10/vcnet/regex/engine.c:663:2: style: Redundant initialization for 'fresh'. The initialized value is overwritten before it is read. [redundantInitialization] cups-2.4.10/vcnet/regex/engine.c:651:15: note: fresh is initialized cups-2.4.10/vcnet/regex/engine.c:663:2: note: fresh is overwritten cups-2.4.10/vcnet/regex/engine.c:749:2: style: Redundant initialization for 'st'. The initialized value is overwritten before it is read. [redundantInitialization] cups-2.4.10/vcnet/regex/engine.c:739:12: note: st is initialized cups-2.4.10/vcnet/regex/engine.c:749:2: note: st is overwritten cups-2.4.10/vcnet/regex/engine.c:459:8: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/engine.c:818:8: style: Parameter 'bef' can be declared as pointer to const [constParameterPointer] cups-2.4.10/vcnet/regex/engine.c:822:8: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] cups-2.4.10/vcnet/regex/engine.c:652:13: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] cups-2.4.10/vcnet/regex/split.c:27:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:80:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:87:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:91:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:97:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:120:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:130:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cups-2.4.10/vcnet/regex/split.c:21:8: style: Variable 'sepp' can be declared as pointer to const [constVariablePointer] cups-2.4.10/cups/pwg-media.c:1198:11: warning: Null pointer dereference: buf [ctunullpointer] cups-2.4.10/cups/pwg-media.c:792:9: note: Assuming that condition 'ptr' is not redundant cups-2.4.10/cups/pwg-media.c:790:29: note: Calling function pwg_scan_measurement, 1st argument is null cups-2.4.10/cups/pwg-media.c:1198:11: note: Dereferencing argument buf that is null cups-2.4.10/scheduler/mime.c:180:7: error: Null pointer dereference: mime [ctunullpointer] cups-2.4.10/scheduler/mime.c:257:39: note: Calling function mimeLoadTypes, 1st argument is null cups-2.4.10/scheduler/mime.c:363:5: note: Calling function _mimeError, 1st argument is null cups-2.4.10/scheduler/mime.c:180:7: note: Dereferencing argument mime that is null diff: head cups-2.4.10/cups/ppd-mark.c:402:8: error: Uninitialized variable: key [uninitvar] head cups-2.4.10/cups/ppd-mark.c:484:8: error: Uninitialized variable: key [uninitvar] head cups-2.4.10/ppdc/ppdc-group.cxx:82:51: style: C-style pointer casting [cstyleCast] head cups-2.4.10/ppdc/ppdc-option.cxx:90:51: style: C-style pointer casting [cstyleCast] head cups-2.4.10/ppdc/ppdhtml.cxx:100:56: style: C-style pointer casting [cstyleCast] head cups-2.4.10/ppdc/ppdhtml.cxx:101:53: style: C-style pointer casting [cstyleCast] head cups-2.4.10/ppdc/ppdhtml.cxx:114:76: style: C-style pointer casting [cstyleCast] head cups-2.4.10/ppdc/ppdhtml.cxx:119:58: style: C-style pointer casting [cstyleCast] head cups-2.4.10/scheduler/cups-driverd.cxx:2288:116: style: C-style pointer casting [cstyleCast] head cups-2.4.10/vcnet/regex/debug.c:19:10: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] DONE