2025-09-01 05:29 ftp://ftp.de.debian.org/debian/pool/main/libg/libgpod/libgpod_0.8.3.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=zlib --library=sqlite3 --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 165 240 elapsed-time: 0.9 2.3 head-timing-info: old-timing-info: head results: libgpod-0.8.3/src/db-artwork-writer.c:1249:36: style:inconclusive: Function 'ipod_write_photo_db' argument 1 names different: declaration 'db' definition 'photodb'. [funcArgNamesDifferent] libgpod-0.8.3/src/db-artwork-parser.h:39:56: note: Function 'ipod_write_photo_db' argument 1 names different: declaration 'db' definition 'photodb'. libgpod-0.8.3/src/db-artwork-writer.c:1249:36: note: Function 'ipod_write_photo_db' argument 1 names different: declaration 'db' definition 'photodb'. libgpod-0.8.3/src/db-artwork-writer.c:1243:39: style: Parameter 'itdb' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/db-artwork-writer.c:1249:36: style: Parameter 'photodb' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_endianness.h:68:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_endianness.h:69:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_endianness.h:70:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_endianness.h:71:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/db-image-parser.c:40:16: style: Variable 'it' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-image-parser.c:54:36: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/db-image-parser.c:77:39: style: Parameter 'mhni' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/db-parse-context.c:154:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/db-artwork-parser.c:540:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_GINT64_FORMAT [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/db-artwork-parser.c:712:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/db-parse-context.c:103:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_artwork.c:891:55: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_artwork.c:892:64: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/db-artwork-parser.c:626:6: error: Address of local auto-variable assigned to a function parameter. [autoVariables] libgpod-0.8.3/src/db-artwork-parser.c:693:39: style:inconclusive: Function 'ipod_parse_artwork_db' argument 1 names different: declaration 'db' definition 'itdb'. [funcArgNamesDifferent] libgpod-0.8.3/src/db-artwork-parser.h:34:59: note: Function 'ipod_parse_artwork_db' argument 1 names different: declaration 'db' definition 'itdb'. libgpod-0.8.3/src/db-artwork-parser.c:693:39: note: Function 'ipod_parse_artwork_db' argument 1 names different: declaration 'db' definition 'itdb'. libgpod-0.8.3/src/db-artwork-parser.c:51:14: style: Variable 'mhif' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:65:14: style: Variable 'mhia' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:203:24: style: Variable 'mhod' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:233:14: style: Variable 'mhii' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:300:14: style: Variable 'mhba' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:391:13: style: Variable 'mhl' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:429:24: style: Variable 'mhsd' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/db-artwork-parser.c:605:14: style: Variable 'mhfd' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_hash58.c:172:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_hash58.c:193:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_hash72.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_hash72.c:208:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_hash58.c:235:47: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_hash72.c:123:20: style: Parameter 'iv' can be declared as const array [constParameter] libgpod-0.8.3/src/itdb_hash72.c:124:20: style: Parameter 'rndpart' can be declared as const array [constParameter] libgpod-0.8.3/src/itdb_hash72.c:226:17: style: Variable 'header' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_device.c:1541:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_device.c:1614:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_hashAB.c:51:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBGPOD_BLOB_DIR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_device.c:2101:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_hashAB.c:96:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_itunesdb.c:1475:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/src/itdb_itunesdb.c:1475:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/src/itdb_device.c:1934:11: style: Condition 'info==NULL' is always false [knownConditionTrueFalse] libgpod-0.8.3/src/itdb_photoalbum.c:322:17: style: Variable 'artwork' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_photoalbum.c:329:20: style: Variable 'album' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_photoalbum.c:684:52: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_photoalbum.c:745:55: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_device.c:1053:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] libgpod-0.8.3/src/itdb_sqlite.c:618:44: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_MODIFIER is a macro then please configure it. [unknownMacro] libgpod-0.8.3/src/itdb_thumb.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LITTLE_ENDIAN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_sysinfo_extended_parser.c:310:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_sysinfo_extended_parser.c:449:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_HASH_TABLE [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_sysinfo_extended_parser.c:489:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_ARRAY [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_sysinfo_extended_parser.c:515:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_HASH_TABLE [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/itdb_thumb.c:316:81: style:inconclusive: Function 'itdb_thumb_ipod_get_filename' argument 2 names different: declaration 'thumb' definition 'item'. [funcArgNamesDifferent] libgpod-0.8.3/src/itdb_thumb.h:125:96: note: Function 'itdb_thumb_ipod_get_filename' argument 2 names different: declaration 'thumb' definition 'item'. libgpod-0.8.3/src/itdb_thumb.c:316:81: note: Function 'itdb_thumb_ipod_get_filename' argument 2 names different: declaration 'thumb' definition 'item'. libgpod-0.8.3/src/itdb_thumb.c:81:50: style: Parameter 'pixbuf' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:197:30: style: Variable 'thumb_file' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_thumb.c:201:32: style: Variable 'thumb_memory' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_thumb.c:270:44: style: Parameter 'thumb' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:289:12: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_thumb.c:316:51: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:354:59: style: Parameter 'thumbs' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:577:53: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:577:73: style: Parameter 'thumb' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:584:44: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_thumb.c:584:64: style: Parameter 'thumb' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_track.c:107:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libgpod-0.8.3/src/itdb_track.c:111:2: note: Found duplicate branches for 'if' and 'else'. libgpod-0.8.3/src/itdb_track.c:107:7: note: Found duplicate branches for 'if' and 'else'. libgpod-0.8.3/src/itdb_track.c:137:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libgpod-0.8.3/src/itdb_track.c:141:2: note: Found duplicate branches for 'if' and 'else'. libgpod-0.8.3/src/itdb_track.c:137:7: note: Found duplicate branches for 'if' and 'else'. libgpod-0.8.3/src/itdb_track.c:178:9: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_track.c:187:15: style: Variable 'g_tr' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_sysinfo_extended_parser.c:345:23: style: Variable 'field' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_sysinfo_extended_parser.c:366:26: style: Variable 'field' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_playlist.c:199:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libgpod-0.8.3/src/itdb_playlist.c:232:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libgpod-0.8.3/src/itdb_playlist.c:299:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libgpod-0.8.3/src/itdb_playlist.c:331:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libgpod-0.8.3/src/itdb_playlist.c:336:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libgpod-0.8.3/src/itdb_playlist.c:1715:71: style:inconclusive: Function 'itdb_playlist_contains_track' argument 2 names different: declaration 'track' definition 'tr'. [funcArgNamesDifferent] libgpod-0.8.3/src/itdb.h:1890:71: note: Function 'itdb_playlist_contains_track' argument 2 names different: declaration 'track' definition 'tr'. libgpod-0.8.3/src/itdb_playlist.c:1715:71: note: Function 'itdb_playlist_contains_track' argument 2 names different: declaration 'track' definition 'tr'. libgpod-0.8.3/src/itdb_playlist.c:777:13: style: Local variable 'gl' shadows outer variable [shadowVariable] libgpod-0.8.3/src/itdb_playlist.c:746:12: note: Shadowed declaration libgpod-0.8.3/src/itdb_playlist.c:777:13: note: Shadow variable libgpod-0.8.3/src/itdb_playlist.c:653:36: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compTitle' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:840:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:653:36: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:653:51: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compTitle' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:840:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:653:51: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:657:36: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compAlbum' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:843:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:657:36: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:657:51: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compAlbum' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:843:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:657:51: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:661:37: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compArtist' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:846:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:661:37: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:661:52: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compArtist' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:846:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:661:52: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:665:36: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compGenre' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:849:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:665:36: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:665:51: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compGenre' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:849:58: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:665:51: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:669:48: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compMostRecentlyAdded' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:853:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:669:48: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:669:63: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compMostRecentlyAdded' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:853:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:669:63: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:673:49: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compLeastRecentlyAdded' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:857:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:673:49: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:673:64: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compLeastRecentlyAdded' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:857:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:673:64: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:677:46: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compMostOftenPlayed' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:861:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:677:46: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:677:61: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compMostOftenPlayed' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:861:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:677:61: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:681:47: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compLeastOftenPlayed' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:865:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:681:47: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:681:62: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compLeastOftenPlayed' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:865:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:681:62: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:685:49: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compMostRecentlyPlayed' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:869:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:685:49: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:685:64: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compMostRecentlyPlayed' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:869:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:685:64: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:689:50: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compLeastRecentlyPlayed' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:873:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:689:50: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:689:65: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compLeastRecentlyPlayed' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:873:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:689:65: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:693:44: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compHighestRating' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:877:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:693:44: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:693:59: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compHighestRating' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:877:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:693:59: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:697:43: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compLowestRating' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:881:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:697:43: note: Parameter 'a' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:697:58: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compLowestRating' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_playlist.c:881:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_playlist.c:697:58: note: Parameter 'b' can be declared as pointer to const libgpod-0.8.3/src/itdb_playlist.c:1226:63: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_playlist.c:1327:9: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_playlist.c:1338:18: style: Variable 'g_pl' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_playlist.c:1546:67: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_playlist.c:1572:47: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_playlist.c:1589:52: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_playlist.c:1609:15: style: Variable 'track' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/itdb_playlist.c:1766:53: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/ithumb-writer.c:1529:35: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_tzinfo.c:141:32: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] libgpod-0.8.3/src/itdb_tzinfo.c:51:64: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_tzinfo.c:58:65: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/itdb_tzinfo.c:413:16: error: Uninitialized variable: second_offset [legacyUninitvar] libgpod-0.8.3/src/itdb_tzinfo.c:417:20: error: Uninitialized variable: second_offset [legacyUninitvar] libgpod-0.8.3/tests/get-timezone.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/get-timezone.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-covers.c:115:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-covers.c:115:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-fw-id.c:52:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-fw-id.c:52:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-cp.cc:123:9: style: The if condition is the same as the previous if condition [duplicateCondition] libgpod-0.8.3/tests/test-cp.cc:119:9: note: First condition libgpod-0.8.3/tests/test-cp.cc:123:9: note: Second condition libgpod-0.8.3/tests/test-init-ipod.c:56:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-init-ipod.c:56:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-photos.c:382:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-photos.c:382:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-ls.c:56:23: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libgpod-0.8.3/tests/test-ls.c:59:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libgpod-0.8.3/tests/test-sysinfo-extended-parsing.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-sysinfo-extended-parsing.c:13:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-ls.c:42:20: style: Variable 'mpl' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/tests/test-ls.c:47:21: style: Variable 'track' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/tests/test-ls.c:111:30: style: Variable 'playlistname' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/tests/test-ls.c:94:20: style: Variable 'track_prefix' is allocated memory that is never used. [unusedAllocatedMemory] libgpod-0.8.3/tests/test-rebuild-db.cc:51:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tests/test-rebuild-db.cc:157:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tests/test-write-covers.c:83:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-write-covers.c:83:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tests/test-rebuild-db.cc:148:3: error: Memory leak: dir [memleak] libgpod-0.8.3/tests/test-rebuild-db.cc:119:7: style: C-style pointer casting [cstyleCast] libgpod-0.8.3/tools/iphone-callout.c:59:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/hal-backend.c:324:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_BUS_SYSTEM [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/generic-callout.c:370:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITDB_IPOD_MODEL_NANO_BLACK [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/generic-callout.c:479:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITDB_IPOD_GENERATION_UNKNOWN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/generic-callout.c:595:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPMOUNTDIR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/hal-backend.c:429:21: style: Variable 'hal_backend' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/tools/hal-backend.c:448:21: style: Variable 'hal_backend' is assigned a value that is never used. [unreadVariable] libgpod-0.8.3/tools/ipod-lockdown.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDEVICE_E_UNKNOWN_ERROR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/ipod-lockdown.c:157:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDEVICE_E_UNKNOWN_ERROR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/generic-callout.c:705:10: style: Condition 'xml==NULL' is always true [knownConditionTrueFalse] libgpod-0.8.3/tools/generic-callout.c:696:14: note: Assignment 'xml=NULL', assigned value is 0 libgpod-0.8.3/tools/generic-callout.c:705:10: note: Condition 'xml==NULL' is always true libgpod-0.8.3/tools/generic-callout.c:712:17: style: Condition 'xml==NULL' is always true [knownConditionTrueFalse] libgpod-0.8.3/tools/generic-callout.c:707:26: note: Calling function 'get_info_from_sg' returns 0 libgpod-0.8.3/tools/generic-callout.c:707:26: note: Assignment 'xml=get_info_from_sg(dev)', assigned value is 0 libgpod-0.8.3/tools/generic-callout.c:712:17: note: Condition 'xml==NULL' is always true libgpod-0.8.3/tools/generic-callout.c:618:9: error: Memory leak: filename [memleak] libgpod-0.8.3/tools/ipod-scsi.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/ipod-scsi.c:113:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] libgpod-0.8.3/src/rijndael.c:33:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/src/rijndael.c:335:9: style: Variable 'ctext_ptr' can be declared as pointer to const [constVariablePointer] libgpod-0.8.3/src/rijndael.c:357:40: style: Parameter 'inbuf' can be declared as pointer to const [constParameterPointer] libgpod-0.8.3/tools/ipod-scsi.c:96:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libgpod-0.8.3/tools/ipod-scsi.c:147:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libgpod-0.8.3/tools/ipod-usb.c:6:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/itdb-syslog.c:35:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] libgpod-0.8.3/tools/udev-backend.c:253:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tools/udev-backend.c:253:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] libgpod-0.8.3/tools/ipod-usb.c:66:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] diff: 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1130:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT64 [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_HASH_TABLE [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1399:47: style: Parameter 'itdb' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1415:47: style: Parameter 'itdb' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1430:44: style: Parameter 'itdb' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1455:14: style: Variable 'track' can be declared as pointer to const [constVariablePointer] head libgpod-0.8.3/src/itdb_itunesdb.c:1475:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/src/itdb_itunesdb.c:1475:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1586:3: error: Uninitialized struct member: result.mhod52sorttype [uninitStructMember] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1586:3: error: Uninitialized struct member: result.mhod53_list [uninitStructMember] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1664:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:1722:13: style: Variable 'seek' is assigned a value that is never used. [unreadVariable] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2298:16: style: Variable 'mhod.valid' is assigned a value that is never used. [unreadVariable] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2310:16: style: Variable 'mhod.valid' is assigned a value that is never used. [unreadVariable] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2322:16: style: Variable 'mhod.valid' is assigned a value that is never used. [unreadVariable] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2415:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2497:18: style: Condition 'header_len>=0x9c' is always true [knownConditionTrueFalse] libgpod-0.8.3/src/itdb_itunesdb.c:2477:18: note: Assuming that condition 'header_len<0x9c' is not redundant libgpod-0.8.3/src/itdb_itunesdb.c:2492:3: note: Assuming condition is false libgpod-0.8.3/src/itdb_itunesdb.c:2497:18: note: Condition 'header_len>=0x9c' is always true 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2712:16: style: Variable 'mhod.valid' is assigned a value that is never used. [unreadVariable] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:2966:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:3068:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:3197:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:3463:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:3504:48: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4186:53: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mhod52_sort_artist' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_itunesdb.c:4731:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_itunesdb.c:4186:53: note: Parameter 'a' can be declared as pointer to const 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4186:76: style: Parameter 'b' can be declared as pointer to const. However it seems that 'mhod52_sort_artist' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_itunesdb.c:4731:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_itunesdb.c:4186:76: note: Parameter 'b' can be declared as pointer to const 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4202:52: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mhod52_sort_genre' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_itunesdb.c:4734:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_itunesdb.c:4202:52: note: Parameter 'a' can be declared as pointer to const 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4202:75: style: Parameter 'b' can be declared as pointer to const. However it seems that 'mhod52_sort_genre' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_itunesdb.c:4734:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_itunesdb.c:4202:75: note: Parameter 'b' can be declared as pointer to const 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4220:55: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mhod52_sort_composer' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_itunesdb.c:4737:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_itunesdb.c:4220:55: note: Parameter 'a' can be declared as pointer to const 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4220:78: style: Parameter 'b' can be declared as pointer to const. However it seems that 'mhod52_sort_composer' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/src/itdb_itunesdb.c:4737:19: note: You might need to cast the function pointer here libgpod-0.8.3/src/itdb_itunesdb.c:4220:78: note: Parameter 'b' can be declared as pointer to const 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:442:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4522:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gunichar2 [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4712:24: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4799:32: style: Variable 'm53' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4829:17: style: Variable 'id' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4930:17: style: Variable 'id' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:4995:69: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5310:14: style: Variable 'track' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5380:14: style: Variable 'track' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5799:15: style: Variable 'track1' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5800:15: style: Variable 'track2' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5849:15: style: Variable 'track1' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5850:15: style: Variable 'track2' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5867:15: style: Variable 'track1' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5868:15: style: Variable 'track2' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5882:20: style: Variable 'mpl' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:5931:16: style: Variable 'id' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6005:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6253:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6253:39: error: Null pointer dereference [nullPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6292:42: style: Parameter 'itdb' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6331:41: style: Parameter 'itdb' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6668:23: style: Variable 'current_track' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6669:14: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6669:19: style: Variable 'ctr' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6871:45: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:6908:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BIG_ENDIAN [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7071:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7149:36: style:inconclusive: Function 'itdb_filename_fs2ipod' argument 1 names different: declaration 'filename' definition 'ipod_file'. [funcArgNamesDifferent] libgpod-0.8.3/src/itdb.h:1825:36: note: Function 'itdb_filename_fs2ipod' argument 1 names different: declaration 'filename' definition 'ipod_file'. libgpod-0.8.3/src/itdb_itunesdb.c:7149:36: note: Function 'itdb_filename_fs2ipod' argument 1 names different: declaration 'filename' definition 'ipod_file'. 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7151:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7164:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7471:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7641:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:7684:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:8300:18: style: Variable 'device' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/src/itdb_itunesdb.c:8364:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head libgpod-0.8.3/tests/get-timezone.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/get-timezone.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-covers.c:115:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-covers.c:115:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tests/test-covers.c:46:63: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_MODIFIER is a macro then please configure it. [unknownMacro] 2.18.0 libgpod-0.8.3/tests/test-fw-id.c:42:11: style: Variable 'fwid' can be declared as pointer to const [constVariablePointer] head libgpod-0.8.3/tests/test-fw-id.c:52:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-fw-id.c:52:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tests/test-init-ipod.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head libgpod-0.8.3/tests/test-init-ipod.c:56:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-init-ipod.c:56:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tests/test-init-ipod.c:81:9: style: Variable 'model_num' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/tests/test-photos.c:122:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/tests/test-photos.c:196:20: style: Variable 'photo' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/tests/test-photos.c:260:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_PIXBUF_ROTATE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 libgpod-0.8.3/tests/test-photos.c:37:12: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 libgpod-0.8.3/tests/test-photos.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head libgpod-0.8.3/tests/test-photos.c:382:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-photos.c:382:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tests/test-photos.c:46:53: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] 2.18.0 libgpod-0.8.3/tests/test-photos.c:96:20: style: Variable 'album' can be declared as pointer to const [constVariablePointer] head libgpod-0.8.3/tests/test-sysinfo-extended-parsing.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-sysinfo-extended-parsing.c:13:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tests/test-write-covers.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head libgpod-0.8.3/tests/test-write-covers.c:83:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tests/test-write-covers.c:83:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tools/udev-backend.c:100:43: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_model_name' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:228:35: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:100:43: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:109:43: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_generation' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:229:35: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:109:43: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:118:38: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_color' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:230:30: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:118:38: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:127:43: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_factory_id' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:231:35: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:127:43: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:137:48: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_production_year' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:232:40: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:137:48: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:146:48: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_production_week' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:233:40: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:146:48: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:155:49: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_production_index' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:234:41: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:155:49: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:164:45: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_control_path' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:235:37: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:164:45: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:173:37: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_name' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:236:29: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:173:37: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:203:64: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_artwork_formats' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:237:40: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:203:64: note: Parameter 'itdb_backend' can be declared as pointer to const head libgpod-0.8.3/tools/udev-backend.c:253:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head libgpod-0.8.3/tools/udev-backend.c:253:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 libgpod-0.8.3/tools/udev-backend.c:48:40: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_version' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:222:32: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:48:40: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:57:43: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_is_unknown' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:223:35: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:57:43: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:66:42: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_icon_name' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:224:34: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:66:42: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:73:44: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_firewire_id' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:225:36: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:73:44: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:82:46: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_serial_number' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:226:38: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:82:46: note: Parameter 'itdb_backend' can be declared as pointer to const 2.18.0 libgpod-0.8.3/tools/udev-backend.c:90:65: style: Parameter 'itdb_backend' can be declared as pointer to const. However it seems that 'udev_backend_set_firmware_version' is a callback function, if 'itdb_backend' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libgpod-0.8.3/tools/udev-backend.c:227:41: note: You might need to cast the function pointer here libgpod-0.8.3/tools/udev-backend.c:90:65: note: Parameter 'itdb_backend' can be declared as pointer to const DONE