2025-06-26 17:34 ftp://ftp.de.debian.org/debian/pool/main/d/dahdi-tools/dahdi-tools_3.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 4780cd2 (2025-06-26 14:24:42 +0200) count: 602 602 elapsed-time: 2.8 3.0 head-timing-info: old-timing-info: head results: dahdi-tools-3.1.0/dahdi_diag.c:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_monitor.c:52:0: error: #error "Your installation appears to be missing soundcard.h which is needed to continue." [preprocessorErrorDirective] dahdi-tools-3.1.0/dahdi_monitor.c:52:4: error: #error "Your installation appears to be missing soundcard.h which is needed to continue." [preprocessorErrorDirective] dahdi-tools-3.1.0/dahdi_diag.c:37:26: style: Parameter 'argv' can be declared as const array [constParameter] dahdi-tools-3.1.0/dahdi_maint.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_maint.c:95:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_test.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_test.c:100:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_scan.c:60:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_scan.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_SPANS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_pcap.c:81:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_pcap.c:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_LINUX_LAPD [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_pcap.c:212:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_MTP2_WITH_PHDR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_test.c:127:47: style: Condition 'argc>curarg' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/dahdi_test.c:124:16: note: Assuming that condition 'curargcurarg' is always true dahdi-tools-3.1.0/dahdi_test.c:74:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_test.c:137:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/dahdi_maint.c:44:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_maint.c:83:8: style: Variable 'larg' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_maint.c:86:8: style: Variable 'iarg' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_maint.c:94:23: style: Variable 'long_options' can be declared as const array [constVariable] dahdi-tools-3.1.0/dahdi_tool.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alarms [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spanno [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_SPANS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:162:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalchans [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:209:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:320:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desc [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:469:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEWT_FLAG_SCROLL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:527:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_scan.c:190:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/dahdi_scan.c:86:7: style: Local variable 's' shadows outer variable [shadowVariable] dahdi-tools-3.1.0/dahdi_scan.c:74:24: note: Shadowed declaration dahdi-tools-3.1.0/dahdi_scan.c:86:7: note: Shadow variable dahdi-tools-3.1.0/dahdi_scan.c:40:58: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/dahdi_scan.c:67:26: style: Parameter 'argv' can be declared as const array [constParameter] dahdi-tools-3.1.0/hdlcgen.c:73:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FASTHDLC_MODE_64 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_ONHOOK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:302:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:333:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:424:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:570:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:632:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:797:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:922:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:956:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:992:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:1082:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:1122:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxotune.c:1209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/hdlcstress.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/hdlcstress.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_pcap.c:96:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/dahdi_pcap.c:220:24: style: Variable 'long_options' can be declared as const array [constVariable] dahdi-tools-3.1.0/hdlcstress.c:224:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/hdlcstress.c:96:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/hdlcverify.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/hdlcverify.c:87:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FASTHDLC_MODE_64 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/hdlcverify.c:128:10: style: Condition '1||hdlccnt' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/hdlctest.c:190:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/patgen.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/patgen.c:77:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/patgen.c:131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_GETEVENT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/patgen.c:91:4: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/patgen.c:102:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/patgen.c:107:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/patgen.c:58:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/fxstest.c:57:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_TONE_DTMF_BASE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxstest.c:77:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_ONHOOK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxstest.c:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxstest.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/patlooptest.c:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/patlooptest.c:208:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/hdlctest.c:145:13: style: Array index 'x' is used before limits check. [arrayIndexThenCheck] dahdi-tools-3.1.0/hdlctest.c:179:6: style: Local variable 'bytes' shadows outer variable [shadowVariable] dahdi-tools-3.1.0/hdlctest.c:99:12: note: Shadowed declaration dahdi-tools-3.1.0/hdlctest.c:179:6: note: Shadow variable dahdi-tools-3.1.0/hdlctest.c:89:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/hdlctest.c:103:31: style: Parameter 'outbuf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/hdlctest.c:132:32: style: Parameter 'outbuf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/hdlctest.c:169:26: style: Parameter 'argv' can be declared as const array [constParameter] dahdi-tools-3.1.0/hdlctest.c:123:19: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] dahdi-tools-3.1.0/hdlctest.c:122:11: note: Assignment 'i=0', assigned value is 0 dahdi-tools-3.1.0/hdlctest.c:123:19: note: Shift dahdi-tools-3.1.0/patlooptest.c:297:6: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/patlooptest.c:297:6: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/patlooptest.c:300:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/patlooptest.c:300:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/patlooptest.c:338:4: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/patlooptest.c:338:4: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/patlooptest.c:126:4: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/patlooptest.c:137:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/patlooptest.c:142:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/patlooptest.c:249:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/patlooptest.c:243:7: note: res is assigned dahdi-tools-3.1.0/patlooptest.c:249:7: note: res is overwritten dahdi-tools-3.1.0/patlooptest.c:55:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/patlooptest.c:167:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/pattest.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/pattest.c:76:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/pattest.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_GETEVENT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:78:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable devnam [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:145:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_HDLCPPP [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:168:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ROOT_PATH [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_DEFAULT_MTU_MRU [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:195:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_DEFAULT_MTU_MRU [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:223:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable devnam [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/ppp/dahdi.c:185:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] dahdi-tools-3.1.0/pattest.c:90:4: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/pattest.c:101:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/pattest.c:106:3: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/ppp/dahdi.c:241:13: style: Condition 'ret==1' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/ppp/dahdi.c:239:11: note: Assignment 'ret=1', assigned value is 1 dahdi-tools-3.1.0/ppp/dahdi.c:241:13: note: Condition 'ret==1' is always true dahdi-tools-3.1.0/pattest.c:57:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/ppp/dahdi.c:166:9: style: Unused variable: ret [unusedVariable] dahdi-tools-3.1.0/ppp/dahdi.c:185:6: style: Variable 'mtu' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/ppp/dahdi.c:181:9: style: Unused variable: sock [unusedVariable] dahdi-tools-3.1.0/sethdlc.c:39:0: error: #error Generic HDLC layer version mismatch, please get correct sethdlc.c [preprocessorErrorDirective] dahdi-tools-3.1.0/sethdlc.c:39:2: error: #error Generic HDLC layer version mismatch, please get correct sethdlc.c [preprocessorErrorDirective] dahdi-tools-3.1.0/fxotune.c:431:3: error: Resource leak: outfile [resourceLeak] dahdi-tools-3.1.0/fxotune.c:437:3: error: Resource leak: outfile [resourceLeak] dahdi-tools-3.1.0/fxotune.c:445:3: error: Resource leak: outfile [resourceLeak] dahdi-tools-3.1.0/timertest.c:48:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_tool.c:320:63: error: Array 's[0]' accessed at index -1, which is out of bounds. [negativeIndex] dahdi-tools-3.1.0/dahdi_tool.c:500:16: note: Calling function 'show_span', 1st argument '-1' value is -1 dahdi-tools-3.1.0/dahdi_tool.c:315:7: note: Assuming condition is false dahdi-tools-3.1.0/dahdi_tool.c:320:63: note: Negative array index dahdi-tools-3.1.0/dahdi_tool.c:321:29: error: Array 's[0]' accessed at index -1, which is out of bounds. [negativeIndex] dahdi-tools-3.1.0/dahdi_tool.c:500:16: note: Calling function 'show_span', 1st argument '-1' value is -1 dahdi-tools-3.1.0/dahdi_tool.c:315:7: note: Assuming condition is false dahdi-tools-3.1.0/dahdi_tool.c:321:29: note: Negative array index dahdi-tools-3.1.0/dahdi_tool.c:343:4: error: Array 's1[32]' accessed at index 32, which is out of bounds. [arrayIndexOutOfBounds] dahdi-tools-3.1.0/dahdi_tool.c:341:23: note: Assignment 'span_max_chan_pos=32', assigned value is 32 dahdi-tools-3.1.0/dahdi_tool.c:343:4: note: Array index out of bounds dahdi-tools-3.1.0/dahdi_tool.c:344:4: error: Array 's2[32]' accessed at index 32, which is out of bounds. [arrayIndexOutOfBounds] dahdi-tools-3.1.0/dahdi_tool.c:341:23: note: Assignment 'span_max_chan_pos=32', assigned value is 32 dahdi-tools-3.1.0/dahdi_tool.c:344:4: note: Array index out of bounds dahdi-tools-3.1.0/fxotune.c:278:9: style: Variable 'sbuf' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_tool.c:136:8: style: Local variable 's' shadows outer variable [shadowVariable] dahdi-tools-3.1.0/dahdi_tool.c:49:30: note: Shadowed declaration dahdi-tools-3.1.0/dahdi_tool.c:136:8: note: Shadow variable dahdi-tools-3.1.0/fxotune.c:279:9: style: Variable 'fbuf' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/fxotune.c:389:36: style: Parameter 'inbuf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/fxotune.c:534:68: style: Parameter 'setting' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/fxotune.c:566:37: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/fxotune.c:999:8: style: Variable 'completedahdipath' can be declared as const array [constVariable] dahdi-tools-3.1.0/fxotune.c:1074:7: style: Variable 'dahdidev' can be declared as const array [constVariable] dahdi-tools-3.1.0/dahdi_tool.c:165:8: style: Variable 'span' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/fxotune.c:276:17: style: Variable 'numsamples' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/fxotune.c:615:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/fxotune.c:784:18: style: Variable 'freq' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/fxotune.c:785:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/astribank.c:135:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_allow.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_allow.c:81:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank.c:62:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] dahdi-tools-3.1.0/tonezone.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/tonezone.c:336:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/tonezone.c:383:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CADENCE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/tonezone.c:482:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_SETTONEZONE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/tonezone.c:495:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_GETTONEZONE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/tonezone.c:511:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_SENDTONE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:63:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_is_starting.c:161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_hexload.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_hexload.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_hexload.c:97:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_hexload.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_hexload.c:199:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_tool.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_tool.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/astribank_license.c:110:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/astribank_license.c:201:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/astribank_tool.c:86:10: style: Variable 'opt_port' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/astribank_tool.c:87:10: style: Variable 'opt_watchdog' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/astribank_tool.c:180:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/astribank_hexload.c:139:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dahdi-tools-3.1.0/xpp/astribank_hexload.c:69:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/astribank_hexload.c:301:22: style: Variable 'xpp_iface' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/astribank_hexload.c:324:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/astribank_hexload.c:330:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/echo_loader.c:159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:214:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_SIZE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:287:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_SIZE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:336:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:375:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:419:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:425:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:431:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:436:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:444:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:450:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:456:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:470:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_DRIVER_WRITE_API [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:495:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_DRIVER_WRITE_API [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:518:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_DRIVER_WRITE_API [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:536:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_DRIVER_READ_API [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:560:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_DRIVER_READ_API [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:597:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:859:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAULT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:99:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:119:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:308:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:372:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:405:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:475:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/hexfile.c:530:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/mpptalk.c:115:1: error: There is an unknown macro here somewhere. Configuration is required. If CMD_DEF is a macro then please configure it. [unknownMacro] dahdi-tools-3.1.0/dahdi_cfg.c:156:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:217:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:304:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:403:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable driver [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:437:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lbo [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:503:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:569:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_ABIT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:596:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:754:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:794:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:830:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:854:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_TONE_ZONE_MAX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:1197:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_MAX_CHANNELS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:1339:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAHDI_GETVERSION [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:1477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:1509:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:1525:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILED [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/dahdi_cfg.c:1545:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/tonezone.c:96:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] dahdi-tools-3.1.0/tonezone.c:177:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] dahdi-tools-3.1.0/tonezone.c:501:37: style:inconclusive: Function 'tone_zone_play_tone' argument 2 names different: declaration 'toneid' definition 'tone'. [funcArgNamesDifferent] dahdi-tools-3.1.0/tonezone.h:88:37: note: Function 'tone_zone_play_tone' argument 2 names different: declaration 'toneid' definition 'tone'. dahdi-tools-3.1.0/tonezone.c:501:37: note: Function 'tone_zone_play_tone' argument 2 names different: declaration 'toneid' definition 'tone'. dahdi-tools-3.1.0/tonezone.c:59:40: style: Parameter 'country' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/tonezone.c:85:72: style: Parameter 't' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/tonezone.c:87:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/tonezone.c:328:80: style: Parameter 'tone' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/tonezone.c:163:8: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:340:8: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:377:6: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:396:7: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:404:6: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:411:6: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:418:6: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:425:6: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/tonezone.c:425:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/tonezone.c:426:8: style: Variable 'space' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/hexfile.c:528:40: style: Condition '!data' is always false [knownConditionTrueFalse] dahdi-tools-3.1.0/xpp/hexfile.c:533:5: style: Condition 'data' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/xpp/hexfile.c:43:13: style: Unsigned expression 'last' can't be negative so it is unnecessary to test it. [unsignedPositive] dahdi-tools-3.1.0/xpp/hexfile.c:323:13: style: Variable 'base_data' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/hexfile.c:369:9: style: Variable 'dollar_start' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/hexfile.c:370:9: style: Variable 'dollar_end' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:65:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LM_ARRAY_SIZE_MISMATCH [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:124:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LM_ARRAY_SIZE_MISMATCH [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:212:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:521:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:548:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:615:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/echo_loader.c:183:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/xpp/echo_loader.c:634:3: error: Memory leak: echo_mod [memleak] dahdi-tools-3.1.0/xpp/echo_loader.c:558:11: style: Checking if unsigned expression 'ret' is less than zero. [unsignedLessThanZero] dahdi-tools-3.1.0/xpp/echo_loader.c:850:64: style:inconclusive: Function 'load_echo' argument 3 names different: declaration 'is_alaw' definition 'default_is_alaw'. [funcArgNamesDifferent] dahdi-tools-3.1.0/xpp/echo_loader.h:29:64: note: Function 'load_echo' argument 3 names different: declaration 'is_alaw' definition 'default_is_alaw'. dahdi-tools-3.1.0/xpp/echo_loader.c:850:64: note: Function 'load_echo' argument 3 names different: declaration 'is_alaw' definition 'default_is_alaw'. dahdi-tools-3.1.0/xpp/echo_loader.c:112:47: style: Parameter 'astribank' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/echo_loader.c:132:57: style: Parameter 'astribank' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/echo_loader.c:187:48: style: Parameter 'astribank' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/echo_loader.c:188:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:39:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_KEY_SIZE_NOT_MUTLIPLE_OF_UINT32 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:59:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_KEY_SIZE_NOT_MUTLIPLE_OF_UINT32 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:107:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINT32 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:128:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_NO_NODES_AVAILABLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:180:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:232:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_NO_NODES_AVAILABLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:311:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:578:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_KEY_NOT_IN_TREE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:749:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_KEY_NOT_IN_TREE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:946:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:959:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_KEY_NOT_IN_TREE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1007:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1033:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_NO_NODES_AVAILABLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1067:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1151:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_BT0_NO_NODES_AVAILABLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c:259:75: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:56:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:85:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:141:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_NO_STRUCTURES_LEFT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:229:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:274:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:303:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:369:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:406:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:468:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:535:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:630:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:683:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:783:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:825:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:879:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_BLOCKNUM_OUT_OF_RANGE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:950:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_BLOCKNUM_OUT_OF_RANGE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:987:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1083:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1247:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_ELEMENT_ALREADY_ASSIGNED [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1381:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_INVALID_LIST_HANDLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1531:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_INVALID_LIST_HANDLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1690:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_INVALID_LIST_HANDLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1801:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM_INVALID_LIST_HANDLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1890:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2034:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2087:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_BAD_PARAM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2186:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2238:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM2_BLOCKNUM_OUT_OF_RANGE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2307:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTAPI_LLM2_BLOCKNUM_OUT_OF_RANGE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2344:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2426:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2589:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2748:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINT32 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:56:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:56:52: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:115:34: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:115:57: style: Parameter 'bneg' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:181:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:181:56: style: Parameter 'bneg' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/largmath/octapi_largmath.c:599:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1196:75: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:306:3: error: There is an unknown macro here somewhere. Configuration is required. If mOCT6100_ROUND_MEMORY_SIZE is a macro then please configure it. [unknownMacro] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c:84:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c:121:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c:179:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_VERSION_NUMBER_MAX_SIZE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c:245:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_VERSION_NUMBER_MAX_SIZE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c:332:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c:395:160: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_EXTERNAL_MEM_BASE_ADDRESS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:795:83: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:716:2: style: Variable 'ls' is assigned an expression that holds the same value. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:696:5: note: ls is assigned '(struct LLM_LIST*)(*l)' here. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:716:2: note: Variable 'ls' is assigned an expression that holds the same value. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:717:2: style: Variable 'lsbyte' is assigned an expression that holds the same value. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:716:5: note: ls is assigned '(struct LLM_LIST*)(*l)' here. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:716:5: note: ls is assigned '(struct LLM_LIST*)(*l)' here. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:717:2: note: Variable 'lsbyte' is assigned an expression that holds the same value. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2120:2: style: Variable 'ls' is assigned an expression that holds the same value. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2100:5: note: ls is assigned '(struct LLM2_LIST*)(*l)' here. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2120:2: note: Variable 'ls' is assigned an expression that holds the same value. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2121:2: style: Variable 'lsbyte' is assigned an expression that holds the same value. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2120:5: note: ls is assigned '(struct LLM2_LIST*)(*l)' here. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2120:5: note: ls is assigned '(struct LLM2_LIST*)(*l)' here. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2121:2: note: Variable 'lsbyte' is assigned an expression that holds the same value. dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:362:14: style: Variable 'ls' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:935:17: style: Variable 'lh' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1777:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2292:18: style: Variable 'lh' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2337:18: style: Variable 'lh' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2629:20: style: Variable 'last_last_item' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:579:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:585:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1164:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:1974:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2505:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2516:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/apilib/llman/octapi_llman.c:2673:20: style: Variable 'fConditionFlag' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c:85:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_VALUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c:98:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c:153:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_DEBUG_GET_DATA_MODE_120S_LITE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c:252:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c:525:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1202:21: style: The if condition is the same as the previous if condition [duplicateCondition] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1199:21: note: First condition dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1202:21: note: Second condition dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:116:20: style: Variable 'new_node' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:294:10: style: Variable 'nkey' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:295:10: style: Variable 'okey' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:392:62: style: Parameter 'link' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:392:77: style: Parameter 'lkey' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:394:11: style: Variable 'nkey' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:569:20: style: Variable 'this_node' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:738:10: style: Variable 'nkey' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:739:10: style: Variable 'okey' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:740:20: style: Variable 'this_node' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1023:11: style: Variable 'lkey' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1060:20: style: Variable 'new_node' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1137:20: style: Variable 'new_node' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/apilib/bt/octapi_bt0.c:1030:7: style: Variable 'lkey' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:91:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_VALUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:107:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_VALUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:180:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:245:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tOCT6100_API_TONE_EVENT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:307:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:448:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_NUM_WORDS_PER_TONE_EVENT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:942:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1079:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1212:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_CHANNEL_ROOT_BASE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:90:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_TOTAL_TSI_CONTROL_MEM_ENTRY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:143:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_TOTAL_TSI_CONTROL_MEM_ENTRY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:197:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_EXTERNAL_MEM_BASE_ADDRESS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_CC [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:354:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:389:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:526:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_BUFFER_PLAYOUT_MALLOC_POINT_NOT_FOUND [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:661:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:724:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_TSST_CONTROL_TIMESTAMP_BASE_ENTRY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:778:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c:824:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:83:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INTERRUPT_NO_TIMEOUT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:117:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_WAIT_INFINITELY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:163:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:205:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_WAIT_INFINITELY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:260:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INTRPT_DISABLED [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:318:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:387:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:557:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INTRPT_DISABLED [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:656:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:829:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1084:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1165:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INTRPT_WILL_TIMEOUT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1305:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INTRPT_ACTIVE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1427:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1477:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1624:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1855:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:85:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:309:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:545:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_MISC_ASCII_CONVERSION_FAILED [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:599:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:78:21: style: Parameter 'f_aulWaitTime' can be declared as const array [constParameter] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c:257:72: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c:250:74: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:626:82: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c:292:76: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c:92:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c:258:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c:1955:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_FATAL_59 [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c:2009:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:90:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_HANDLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:104:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:160:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_HANDLE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:176:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:312:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_HNDL_TAG_MASK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:412:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_CH_MAIN_TONE_EVENT_OFFSET [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:506:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_INDEX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:616:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:682:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_HNDL_TAG_MASK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:801:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_CH_MAIN_TONE_EVENT_OFFSET [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:919:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:1013:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:1066:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1129:48: style: Condition 'ulLastBufPlayoutEventBufferOverflowCnt==pSharedInfo->SoftBufs.ulBufPlayoutEventBufferOverflowCnt' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1110:48: note: Assuming that condition 'ulLastBufPlayoutEventBufferOverflowCnt==pSharedInfo->SoftBufs.ulBufPlayoutEventBufferOverflowCnt' is not redundant dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1129:48: note: Condition 'ulLastBufPlayoutEventBufferOverflowCnt==pSharedInfo->SoftBufs.ulBufPlayoutEventBufferOverflowCnt' is always true dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c:248:70: error: syntax error [syntaxError] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:88:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:140:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:164:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:188:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:212:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:240:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:265:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:296:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:325:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:356:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:385:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:413:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:439:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:499:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_VALUE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:87:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_MAX_TSSTS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:136:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_MAX_TSSTS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:187:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_UNASSIGNED [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:279:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_ERR_OK [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:487:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cOCT6100_INVALID_INDEX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/test.c:31:11: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/test.c:27:11: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/test.c:31:11: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/test.c:34:11: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/test.c:31:11: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/test.c:34:11: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/test.c:35:11: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/test.c:34:11: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/test.c:35:11: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/test.c:37:11: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/test.c:35:11: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/test.c:37:11: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/test.c:41:11: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/test.c:37:11: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/test.c:41:11: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/test.c:43:11: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/test.c:41:11: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/test.c:43:11: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/test.c:43:11: style: Variable 'ulResult' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/test.c:17:22: style: Unused variable: tonefound [unusedVariable] dahdi-tools-3.1.0/xpp/parse_span_specs.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/parse_span_specs.c:74:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/parse_span_specs.c:75:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:436:30: style: Variable 'pulTsstAlloc[ulTimeslot]' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:566:30: style: Variable 'pulTsstAlloc[ulTimeslot]' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/test_parse.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/test_parse.c:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/pic_loader.c:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_SIZE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/pic_loader.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/pic_loader.c:213:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_SIZE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/pic_loader.c:275:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/debug.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xlist.c:100:21: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/xtalk/debug.c:72:23: warning: If memory allocation fails, then there is a possible null pointer dereference: strings [nullPointerOutOfMemory] dahdi-tools-3.1.0/xpp/xtalk/debug.c:70:29: note: Assuming allocation function fails dahdi-tools-3.1.0/xpp/xtalk/debug.c:70:29: note: Assignment 'strings=backtrace_symbols(array,size)', assigned value is 0 dahdi-tools-3.1.0/xpp/xtalk/debug.c:72:23: note: Null pointer dereference dahdi-tools-3.1.0/xpp/xtalk/xlist_test.c:8:21: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If CMD_DEF is a macro then please configure it. [unknownMacro] dahdi-tools-3.1.0/xpp/xtalk/xtalk_base.c:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_OPS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_base.c:201:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xtalk_header [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_base.c:226:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_base.c:259:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_base.c:275:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxstest.c:88:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/fxstest.c:212:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/fxstest.c:332:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/fxstest.c:360:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/fxstest.c:362:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/fxstest.c:365:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/fxstest.c:129:4: error: Resource leak: fd [resourceLeak] dahdi-tools-3.1.0/fxstest.c:179:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/fxstest.c:176:7: note: res is assigned dahdi-tools-3.1.0/fxstest.c:179:7: note: res is overwritten dahdi-tools-3.1.0/fxstest.c:214:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/fxstest.c:211:7: note: res is assigned dahdi-tools-3.1.0/fxstest.c:214:7: note: res is overwritten dahdi-tools-3.1.0/fxstest.c:217:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/fxstest.c:214:7: note: res is assigned dahdi-tools-3.1.0/fxstest.c:217:7: note: res is overwritten dahdi-tools-3.1.0/fxstest.c:233:7: style: Local variable 'x' shadows outer variable [shadowVariable] dahdi-tools-3.1.0/fxstest.c:144:6: note: Shadowed declaration dahdi-tools-3.1.0/fxstest.c:233:7: note: Shadow variable dahdi-tools-3.1.0/fxstest.c:305:10: style: Variable 'outstring' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/fxstest.c:336:10: style: Variable 'outstring' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/fxstest.c:305:20: style: Variable 'outstring' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:18:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:51:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxstest.c:319:8: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:79:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/fxstest.c:345:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xtalk_base.c:78:17: style: Condition 'xproto' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/xpp/xtalk/xtalk_send.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_send.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_send.c:160:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:47:24: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'proto_ack_cb' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:98:61: note: You might need to cast the function pointer here dahdi-tools-3.1.0/xpp/xtalk/xtalk_raw_test.c:47:24: note: Parameter 'cmd' can be declared as pointer to const dahdi-tools-3.1.0/xpp/xtalk/xtalk_sync.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If CMD_DEF is a macro then please configure it. [unknownMacro] dahdi-tools-3.1.0/xpp/xtalk/xtalk_send.c:73:69: style: Parameter 'args' can be declared as const array [constParameter] dahdi-tools-3.1.0/xpp/xtalk/xtalk_test.c:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_test.c:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xtalk_test.c:177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/pic_loader.c:60:36: style:inconclusive: Function 'send_picline' argument 1 names different: declaration 'astribank' definition 'ab'. [funcArgNamesDifferent] dahdi-tools-3.1.0/xpp/pic_loader.h:42:36: note: Function 'send_picline' argument 1 names different: declaration 'astribank' definition 'ab'. dahdi-tools-3.1.0/xpp/pic_loader.c:60:36: note: Function 'send_picline' argument 1 names different: declaration 'astribank' definition 'ab'. dahdi-tools-3.1.0/xpp/pic_loader.c:261:32: style:inconclusive: Function 'load_pic' argument 1 names different: declaration 'astribank' definition 'ab'. [funcArgNamesDifferent] dahdi-tools-3.1.0/xpp/pic_loader.h:44:32: note: Function 'load_pic' argument 1 names different: declaration 'astribank' definition 'ab'. dahdi-tools-3.1.0/xpp/pic_loader.c:261:32: note: Function 'load_pic' argument 1 names different: declaration 'astribank' definition 'ab'. dahdi-tools-3.1.0/xpp/pic_loader.c:60:101: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/pic_loader.c:261:56: style: Parameter 'filelist' can be declared as const array [constParameter] dahdi-tools-3.1.0/xpp/pic_loader.c:187:4: style: Variable 'v' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/pic_loader.c:253:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/pic_loader.c:283:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:174:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:327:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:356:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:382:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:419:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XTALK_OPTIONS_FILE [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_test.c:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_test.c:105:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:909:14: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:890:14: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:909:14: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1044:13: style: Variable 'ulResult' is reassigned a value before the old one has been used. [redundantAssignment] dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1033:13: note: ulResult is assigned dahdi-tools-3.1.0/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1044:13: note: ulResult is overwritten dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:185:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:402:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ret_buf [nullPointerOutOfMemory] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:401:19: note: Assuming allocation function fails dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:401:19: note: Assignment 'ret_buf=malloc(sizeof(buf))', assigned value is 0 dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:402:10: note: Null pointer dereference dahdi-tools-3.1.0/xpp/xtalk/xusb_test_bypath.c:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_test_bypath.c:28:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_test_bypath.c:62:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:132:54: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:137:40: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:155:40: style: Parameter 'xusb_list' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:383:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_common.c:413:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:153:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:177:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:238:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:430:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:478:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:594:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:672:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:738:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:791:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:822:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_UNDO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_SUCCESS [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:104:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:153:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:196:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:283:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENXIO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:390:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:465:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:553:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:662:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:742:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENXIO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:798:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENXIO [valueFlowBailoutIncompleteVar] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:317:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:718:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:768:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:422:6: style: Condition '!dev_desc' is always false [knownConditionTrueFalse] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:108:21: style: Variable 'iface' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:404:32: style: Variable 'dev_desc' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:469:20: style: Parameter 'dummy_spec' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:415:42: portability: '(void*)xusb_device' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:807:17: style: Variable 'sembuf.sem_num' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:808:16: style: Variable 'sembuf.sem_op' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:809:17: style: Variable 'sembuf.sem_flg' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:820:17: style: Variable 'sembuf.sem_num' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:821:16: style: Variable 'sembuf.sem_op' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusb.c:822:17: style: Variable 'sembuf.sem_flg' is assigned a value that is never used. [unreadVariable] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:365:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:525:20: style: Parameter 'dummy_spec' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/xpp/xtalk/xusb_libusbx.c:460:42: portability: '(void*)xusb_device' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dahdi-tools-3.1.0/dahdi_cfg.c:227:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dahdi-tools-3.1.0/dahdi_cfg.c:602:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] dahdi-tools-3.1.0/dahdi_cfg.c:603:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] dahdi-tools-3.1.0/dahdi_cfg.c:604:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] dahdi-tools-3.1.0/dahdi_cfg.c:756:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] dahdi-tools-3.1.0/dahdi_cfg.c:834:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] dahdi-tools-3.1.0/dahdi_cfg.c:836:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] dahdi-tools-3.1.0/dahdi_cfg.c:1204:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] dahdi-tools-3.1.0/dahdi_cfg.c:1262:17: style: Condition 'rxtones[0]' is always true [knownConditionTrueFalse] dahdi-tools-3.1.0/dahdi_cfg.c:169:20: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] dahdi-tools-3.1.0/dahdi_cfg.c:167:16: note: Assuming allocation function fails dahdi-tools-3.1.0/dahdi_cfg.c:167:16: note: Assignment 'dirp=opendir(device_path)', assigned value is 0 dahdi-tools-3.1.0/dahdi_cfg.c:169:20: note: Null pointer dereference dahdi-tools-3.1.0/dahdi_cfg.c:150:17: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_cfg.c:189:17: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_cfg.c:561:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/dahdi_cfg.c:584:32: style: Parameter 'channel' can be declared as pointer to const [constParameterPointer] dahdi-tools-3.1.0/dahdi_cfg.c:594:29: style: Parameter 'keyword' can be declared as pointer to const. However it seems that 'chanconfig' is a callback function, if 'keyword' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dahdi-tools-3.1.0/dahdi_cfg.c:1429:12: note: You might need to cast the function pointer here dahdi-tools-3.1.0/dahdi_cfg.c:594:29: note: Parameter 'keyword' can be declared as pointer to const dahdi-tools-3.1.0/dahdi_cfg.c:749:25: style: Parameter 'keyword' can be declared as pointer to const. However it seems that 'setlaw' is a callback function, if 'keyword' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dahdi-tools-3.1.0/dahdi_cfg.c:1432:14: note: You might need to cast the function pointer here dahdi-tools-3.1.0/dahdi_cfg.c:749:25: note: Parameter 'keyword' can be declared as pointer to const dahdi-tools-3.1.0/dahdi_cfg.c:864:20: style: Variable 'z' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_cfg.c:1471:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dahdi-tools-3.1.0/dahdi_cfg.c:1502:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 dahdi-tools-3.1.0/dahdi_cfg.c:169:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dahdi-tools-3.1.0/dahdi_cfg.c:203:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dahdi-tools-3.1.0/dahdi_cfg.c:594:29: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] head dahdi-tools-3.1.0/dahdi_cfg.c:594:29: style: Parameter 'keyword' can be declared as pointer to const. However it seems that 'chanconfig' is a callback function, if 'keyword' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dahdi-tools-3.1.0/dahdi_cfg.c:1429:12: note: You might need to cast the function pointer here dahdi-tools-3.1.0/dahdi_cfg.c:594:29: note: Parameter 'keyword' can be declared as pointer to const 2.17.0 dahdi-tools-3.1.0/dahdi_cfg.c:749:25: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] head dahdi-tools-3.1.0/dahdi_cfg.c:749:25: style: Parameter 'keyword' can be declared as pointer to const. However it seems that 'setlaw' is a callback function, if 'keyword' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dahdi-tools-3.1.0/dahdi_cfg.c:1432:14: note: You might need to cast the function pointer here dahdi-tools-3.1.0/dahdi_cfg.c:749:25: note: Parameter 'keyword' can be declared as pointer to const head dahdi-tools-3.1.0/dahdi_monitor.c:52:4: error: #error "Your installation appears to be missing soundcard.h which is needed to continue." [preprocessorErrorDirective] head dahdi-tools-3.1.0/sethdlc.c:39:2: error: #error Generic HDLC layer version mismatch, please get correct sethdlc.c [preprocessorErrorDirective] DONE