2025-11-25 01:23 ftp://ftp.de.debian.org/debian/pool/main/a/atril/atril_1.28.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --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.57+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: cb76e52 (2025-11-22 14:47:37 +0100) count: 515 867 elapsed-time: 1.2 2.6 head-timing-info: old-timing-info: head results: atril-1.28.2/backend/comics/ev-archive.c:50:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_free [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/ev-archive.c:141:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/ev-archive.c:160:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/ev-archive.c:311:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_free [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/ev-archive.c:43:13: style: Variable 'archive' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/comics/ev-archive.c:321:29: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/djvu/djvu-links.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_MARKUP [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-links.c:261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-links.c:306:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvMapping [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-links.c:350:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_dummy [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-links.c:368:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-links.c:437:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:181:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDJVU_DOCINFO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:287:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDJVU_JOB_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDJVU_ROTATE_90 [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:400:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable djvu_document_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:428:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_dummy [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:514:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:598:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_EXPORTER_CAN_PAGE_SET [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:620:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDJVU_FORMAT_RGBMASK32 [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-document.c:647:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_dummy [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/comics-document.c:190:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/comics-document.c:468:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/comics-document.c:555:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/comics/comics-document.c:620:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_destroy [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:113:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:128:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:176:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:273:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-text-page.c:330:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable miniexp_nil [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/djvu/djvu-links.c:231:44: style: Parameter 'page_info' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/djvu/djvu-links.c:296:47: style: Parameter 'djvu_document' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/djvu/djvu-links.c:404:16: style: Variable 'djvu_document' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/djvu/djvu-links.c:420:16: style: Variable 'djvu_document' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/djvu/djvu-document.c:106:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] atril-1.28.2/backend/djvu/djvu-document.c:432:17: style: Local variable 'page' shadows outer argument [shadowArgument] atril-1.28.2/backend/djvu/djvu-document.c:420:18: note: Shadowed declaration atril-1.28.2/backend/djvu/djvu-document.c:432:17: note: Shadow variable atril-1.28.2/backend/djvu/djvu-document.c:299:23: style: Parameter 'page' can be declared as pointer to const. However it seems that 'djvu_document_get_page_size' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/djvu/djvu-document.c:414:37: note: You might need to cast the function pointer here atril-1.28.2/backend/djvu/djvu-document.c:299:23: note: Parameter 'page' can be declared as pointer to const atril-1.28.2/backend/djvu/djvu-document.c:446:24: style: Parameter 'points' can be declared as pointer to const. However it seems that 'djvu_selection_get_selected_text' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/djvu/djvu-document.c:471:29: note: You might need to cast the function pointer here atril-1.28.2/backend/djvu/djvu-document.c:446:24: note: Parameter 'points' can be declared as pointer to const atril-1.28.2/backend/djvu/djvu-document.c:564:27: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'djvu_document_file_exporter_do_page' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/djvu/djvu-document.c:609:26: note: You might need to cast the function pointer here atril-1.28.2/backend/djvu/djvu-document.c:564:27: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/djvu/djvu-document.c:596:63: style: Parameter 'exporter' can be declared as pointer to const. However it seems that 'djvu_document_file_exporter_get_capabilities' is a callback function, if 'exporter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/djvu/djvu-document.c:611:28: note: You might need to cast the function pointer here atril-1.28.2/backend/djvu/djvu-document.c:596:63: note: Parameter 'exporter' can be declared as pointer to const atril-1.28.2/backend/djvu/djvu-document.c:688:28: style: Parameter 'page' can be declared as pointer to const. However it seems that 'djvu_document_links_get_links' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/djvu/djvu-document.c:698:21: note: You might need to cast the function pointer here atril-1.28.2/backend/djvu/djvu-document.c:688:28: note: Parameter 'page' can be declared as pointer to const atril-1.28.2/backend/djvu/djvu-text-page.c:103:25: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/djvu/djvu-text-page.c:181:17: style: Variable 'link' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/djvu/djvu-text-page.c:204:22: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/comics/comics-document.c:95:7: style: Local variable 'i' shadows outer variable [shadowVariable] atril-1.28.2/backend/comics/comics-document.c:84:8: note: Shadowed declaration atril-1.28.2/backend/comics/comics-document.c:95:7: note: Shadow variable atril-1.28.2/backend/comics/comics-document.c:464:11: style: Local variable 'error' shadows outer variable [shadowVariable] atril-1.28.2/backend/comics/comics-document.c:446:10: note: Shadowed declaration atril-1.28.2/backend/comics/comics-document.c:464:11: note: Shadow variable atril-1.28.2/backend/comics/comics-document.c:436:23: style: Parameter 'page' can be declared as pointer to const. However it seems that 'comics_document_get_page_size' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/comics/comics-document.c:639:37: note: You might need to cast the function pointer here atril-1.28.2/backend/comics/comics-document.c:436:23: note: Parameter 'page' can be declared as pointer to const atril-1.28.2/backend/comics/comics-document.c:515:22: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'render_pixbuf_size_prepared_cb' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/comics/comics-document.c:546:2: note: You might need to cast the function pointer here atril-1.28.2/backend/comics/comics-document.c:515:22: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/dvi/fonts.c:24:8: style: struct member 'fontinfo::desc' is never used. [unusedStructMember] atril-1.28.2/backend/dvi/cairo-device.c:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDVI_PARAM_CHARBOXES [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/cairo-device.c:236:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/cairo-device.c:338:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/mdvi-lib/sysdeps.h:56:0: error: #error No appropriate 32bit native type found. Fix sysdeps.h [preprocessorErrorDirective] atril-1.28.2/backend/dvi/dvi-document.c:114:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDVI_HMARGIN [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/dvi-document.c:227:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dvi_document_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/dvi-document.c:404:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_EXPORTER_CAN_PAGE_SET [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/dvi-document.c:571:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DviParams [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/dvi/dvi-document.c:149:15: style: Variable 'dvi_document' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/dvi/dvi-document.c:231:43: style: Parameter 'document' can be declared as pointer to const. However it seems that 'dvi_document_support_synctex' is a callback function, if 'document' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/dvi/dvi-document.c:254:39: note: You might need to cast the function pointer here atril-1.28.2/backend/dvi/dvi-document.c:231:43: note: Parameter 'document' can be declared as pointer to const atril-1.28.2/backend/dvi/dvi-document.c:259:28: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'dvi_document_thumbnails_get_dimensions' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/dvi/dvi-document.c:337:26: note: You might need to cast the function pointer here atril-1.28.2/backend/dvi/dvi-document.c:259:28: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/dvi/dvi-document.c:263:15: style: Variable 'dvi_document' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/dvi/dvi-document.c:359:26: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'dvi_document_file_exporter_do_page' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/dvi/dvi-document.c:415:26: note: You might need to cast the function pointer here atril-1.28.2/backend/dvi/dvi-document.c:359:26: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/dvi/dvi-document.c:402:62: style: Parameter 'exporter' can be declared as pointer to const. However it seems that 'dvi_document_file_exporter_get_capabilities' is a callback function, if 'exporter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/dvi/dvi-document.c:417:28: note: You might need to cast the function pointer here atril-1.28.2/backend/dvi/dvi-document.c:402:62: note: Parameter 'exporter' can be declared as pointer to const atril-1.28.2/backend/dvi/dvi-document.c:479:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/ioapi.h:132:1: debug: Failed to parse 'typedef voidpf ( * open_file_func ) _Z_OF ( ( voidpf opaque , const char * filename , int mode ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:133:1: debug: Failed to parse 'typedef uLong ( * read_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream , void * buf , uLong size ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:134:1: debug: Failed to parse 'typedef uLong ( * write_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream , const void * buf , uLong size ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:135:1: debug: Failed to parse 'typedef int ( * close_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:136:1: debug: Failed to parse 'typedef int ( * testerror_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:138:1: debug: Failed to parse 'typedef long ( * tell_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:139:1: debug: Failed to parse 'typedef long ( * seek_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream , uLong offset , int origin ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:154:1: debug: Failed to parse 'typedef ZPOS64_T ( * tell64_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:155:1: debug: Failed to parse 'typedef long ( * seek64_file_func ) _Z_OF ( ( voidpf opaque , voidpf stream , unsigned long long int offset , int origin ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/epub/minizip/ioapi.h:156:1: debug: Failed to parse 'typedef voidpf ( * open64_file_func ) _Z_OF ( ( voidpf opaque , const void * filename , int mode ) ) ;'. The checking continues anyway. [simplifyTypedef] atril-1.28.2/backend/pdf/ev-poppler.cc:1173:0: error: failed to evaluate #if condition, undefined function-like macro invocation: POPPLER_CHECK_VERSION( ... ) [syntaxError] atril-1.28.2/backend/epub/minizip/ioapi.c:78:47: style: Variable 'p_filefunc64_32->zfile_func64.zerror_file' is reassigned a value before the old one has been used. [redundantAssignment] atril-1.28.2/backend/epub/minizip/ioapi.c:72:47: note: p_filefunc64_32->zfile_func64.zerror_file is assigned atril-1.28.2/backend/epub/minizip/ioapi.c:78:47: note: p_filefunc64_32->zfile_func64.zerror_file is overwritten atril-1.28.2/backend/pixbuf/pixbuf-document.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/pixbuf/pixbuf-document.c:138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixbuf_document_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/pixbuf/pixbuf-document.c:170:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/pixbuf/pixbuf-document.c:90:43: style: Parameter 'document' can be declared as pointer to const. However it seems that 'pixbuf_document_get_n_pages' is a callback function, if 'document' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pixbuf/pixbuf-document.c:151:35: note: You might need to cast the function pointer here atril-1.28.2/backend/pixbuf/pixbuf-document.c:90:43: note: Parameter 'document' can be declared as pointer to const atril-1.28.2/backend/pixbuf/pixbuf-document.c:109:21: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'pixbuf_document_render' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pixbuf/pixbuf-document.c:153:30: note: You might need to cast the function pointer here atril-1.28.2/backend/pixbuf/pixbuf-document.c:109:21: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/pixbuf/pixbuf-document.c:158:30: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'pixbuf_document_thumbnails_get_thumbnail' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pixbuf/pixbuf-document.c:200:25: note: You might need to cast the function pointer here atril-1.28.2/backend/pixbuf/pixbuf-document.c:158:30: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/pixbuf/pixbuf-document.c:180:31: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'pixbuf_document_thumbnails_get_dimensions' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pixbuf/pixbuf-document.c:201:26: note: You might need to cast the function pointer here atril-1.28.2/backend/pixbuf/pixbuf-document.c:180:31: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/pixbuf/pixbuf-document.c:205:39: style: Parameter 'pixbuf_document' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/ps/ev-spectre.c:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_document_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:167:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spectre_page_free [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:253:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvDocumentInfo [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:281:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTRE_VERSION_STRING [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:318:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTRE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:438:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTRE_EXPORTER_FORMAT_PS [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:472:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_EXPORTER_CAN_PAGE_SET [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/ps/ev-spectre.c:57:31: style: Parameter 'ps_document' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/ps/ev-spectre.c:470:61: style: Parameter 'exporter' can be declared as pointer to const. However it seems that 'ps_document_file_exporter_get_capabilities' is a callback function, if 'exporter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/ps/ev-spectre.c:486:28: note: You might need to cast the function pointer here atril-1.28.2/backend/ps/ev-spectre.c:470:61: note: Parameter 'exporter' can be declared as pointer to const atril-1.28.2/backend/tiff/tiff-document.c:104:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:169:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_XRESOLUTION [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:202:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:238:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:346:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:411:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_PAGENAME [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:429:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tiff_document_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff-document.c:531:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_EXPORTER_CAN_PAGE_SET [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:270:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_MARKUP [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:312:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_MARKUP [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:396:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:684:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNZ_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:817:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNZ_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:1379:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvDocumentInfo [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:1837:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable epub_document_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/tiff/tiff2ps.c:300:1: error: There is an unknown macro here somewhere. Configuration is required. If G_GNUC_PRINTF is a macro then please configure it. [unknownMacro] atril-1.28.2/backend/tiff/tiff-document.c:498:31: style: Parameter 'fc' can be declared as pointer to const. However it seems that 'tiff_document_file_exporter_begin' is a callback function, if 'fc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/tiff/tiff-document.c:541:17: note: You might need to cast the function pointer here atril-1.28.2/backend/tiff/tiff-document.c:498:31: note: Parameter 'fc' can be declared as pointer to const atril-1.28.2/backend/tiff/tiff-document.c:529:63: style: Parameter 'exporter' can be declared as pointer to const. However it seems that 'tiff_document_file_exporter_get_capabilities' is a callback function, if 'exporter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/tiff/tiff-document.c:544:28: note: You might need to cast the function pointer here atril-1.28.2/backend/tiff/tiff-document.c:529:63: note: Parameter 'exporter' can be declared as pointer to const atril-1.28.2/backend/epub/minizip/unzip.c:210:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:876:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:1361:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:1496:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_DEFLATED [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:1692:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:1941:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:1978:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_DEFLATED [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:2011:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_ERRNO [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/xps/xps-document.c:49:1: error: There is an unknown macro here somewhere. Configuration is required. If EV_BACKEND_REGISTER_WITH_CODE is a macro then please configure it. [unknownMacro] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:152:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlIndentTreeOutput [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:155:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:291:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TRAVERSE_ALL [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:343:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:373:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:513:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:591:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:626:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:692:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:728:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:753:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGG_TYPE_TB_MODEL_FLAGS [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:813:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TRAVERSE_ALL [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:185:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOL_ITEM [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:291:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOL_ITEM [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:320:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOL_ITEM [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:342:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOLBAR [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:475:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:732:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:755:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:773:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:828:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:941:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1083:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_editable_toolbar_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1482:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1511:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOLBAR [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1649:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:72:20: style: Variable 'tl' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:213:22: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:215:20: style: Variable 'idata2' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:304:10: style: Variable 'toolbar_node' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:305:23: style: Variable 'toolbar' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:335:48: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:364:48: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:906:20: style: Variable 'idata' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:907:23: style: Variable 'tdata' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:985:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:986:20: style: Variable 'idata' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:1008:10: style: Variable 'toolbar' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbars-model.c:1009:23: style: Variable 'tdata' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:1369:9: error: Memory leak: containeruri [memleak] atril-1.28.2/backend/epub/epub-document.c:1396:9: error: Memory leak: infofile [memleak] atril-1.28.2/backend/epub/epub-document.c:1756:9: error: Memory leak: containeruri [memleak] atril-1.28.2/backend/epub/epub-document.c:106:64: style: Parameter 'rc' can be declared as pointer to const. However it seems that 'epub_document_thumbnails_get_dimensions' is a callback function, if 'rc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/epub/epub-document.c:340:29: note: You might need to cast the function pointer here atril-1.28.2/backend/epub/epub-document.c:106:64: note: Parameter 'rc' can be declared as pointer to const atril-1.28.2/backend/epub/epub-document.c:217:19: style: Variable 'epub_document' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:327:49: style: Parameter 'document_links' can be declared as pointer to const. However it seems that 'epub_document_links_get_links' is a callback function, if 'document_links' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/epub/epub-document.c:354:24: note: You might need to cast the function pointer here atril-1.28.2/backend/epub/epub-document.c:327:49: note: Parameter 'document_links' can be declared as pointer to const atril-1.28.2/backend/epub/epub-document.c:328:49: style: Parameter 'page' can be declared as pointer to const. However it seems that 'epub_document_links_get_links' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/epub/epub-document.c:354:24: note: You might need to cast the function pointer here atril-1.28.2/backend/epub/epub-document.c:328:49: note: Parameter 'page' can be declared as pointer to const atril-1.28.2/backend/epub/epub-document.c:374:19: style: Variable 'epub_document' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:680:12: style: Variable 'directory' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:722:16: style: Variable 'createdir' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:787:12: style: Variable 'epubfilename' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:922:12: style: Variable 'documentfolder' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:924:16: style: Variable 'copybuffer' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:970:12: style: Variable 'res' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:980:77: style: Parameter 'documentdir' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/epub-document.c:1170:35: style: Parameter 'containeruri' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/epub-document.c:1237:12: style: Variable 'navdirend' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:1239:12: style: Variable 'reader' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:1306:20: style: Variable 'fragment' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:1608:41: style: Parameter 'containeruri' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/epub-document.c:1625:12: style: Variable 'listiter' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:1626:22: style: Variable 'pagedata' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ephy_zoom_action_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:1683:54: style: Parameter 'documentdir' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:133:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:248:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/epub-document.c:925:16: warning: Size of pointer 'directorybuffer' used instead of size of its data. [pointerSize] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:72:18: style: Variable 'zoom_action' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:80:18: style: Variable 'zoom_action' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:88:18: style: Variable 'zoom_action' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-action.c:133:25: style: Variable 'p' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/epub-document.c:971:13: style: Variable 'res' is assigned a value that is never used. [unreadVariable] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:147:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ephy_zoom_control_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:289:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:121:42: style: Condition 'zoom_levels[i].name==NULL' is always true [knownConditionTrueFalse] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:115:27: note: Assuming that condition 'zoom_levels[i].name!=NULL' is not redundant atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:121:42: note: Condition 'zoom_levels[i].name==NULL' is always true atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:177:49: style: Condition 'zoom_levels[i].name==NULL' is always true [knownConditionTrueFalse] atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:171:27: note: Assuming that condition 'zoom_levels[i].name!=NULL' is not redundant atril-1.28.2/cut-n-paste/zoom-control/ephy-zoom-control.c:177:49: note: Condition 'zoom_levels[i].name==NULL' is always true atril-1.28.2/libdocument/ev-annotation.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-async-renderer.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1164:15: style: Condition 'toolbar' is always true [knownConditionTrueFalse] atril-1.28.2/libdocument/ev-file-helpers.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-module.h:42:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-debug.h:36:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1695:39: style:inconclusive: Function 'egg_editable_toolbar_new' argument 2 names different: declaration 'visibility_path' definition 'popup_path'. [funcArgNamesDifferent] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.h:60:79: note: Function 'egg_editable_toolbar_new' argument 2 names different: declaration 'visibility_path' definition 'popup_path'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1695:39: note: Function 'egg_editable_toolbar_new' argument 2 names different: declaration 'visibility_path' definition 'popup_path'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1706:50: style:inconclusive: Function 'egg_editable_toolbar_new_with_model' argument 3 names different: declaration 'visibility_path' definition 'popup_path'. [funcArgNamesDifferent] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.h:63:79: note: Function 'egg_editable_toolbar_new_with_model' argument 3 names different: declaration 'visibility_path' definition 'popup_path'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1706:50: note: Function 'egg_editable_toolbar_new_with_model' argument 3 names different: declaration 'visibility_path' definition 'popup_path'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1783:45: style:inconclusive: Function 'egg_editable_toolbar_set_fixed' argument 2 names different: declaration 'fixed_toolbar' definition 'toolbar'. [funcArgNamesDifferent] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.h:76:79: note: Function 'egg_editable_toolbar_set_fixed' argument 2 names different: declaration 'fixed_toolbar' definition 'toolbar'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1783:45: note: Function 'egg_editable_toolbar_set_fixed' argument 2 names different: declaration 'fixed_toolbar' definition 'toolbar'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1908:54: style:inconclusive: Function 'egg_editable_toolbar_set_primary_class' argument 3 names different: declaration 'path' definition 'name'. [funcArgNamesDifferent] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.h:86:79: note: Function 'egg_editable_toolbar_set_primary_class' argument 3 names different: declaration 'path' definition 'name'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1908:54: note: Function 'egg_editable_toolbar_set_primary_class' argument 3 names different: declaration 'path' definition 'name'. atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:504:30: style: Local variable 'screen' shadows outer variable [shadowVariable] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:469:22: note: Shadowed declaration atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:504:30: note: Shadow variable atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:933:22: style: Local variable 'action' shadows outer variable [shadowVariable] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:891:20: note: Shadowed declaration atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:933:22: note: Shadow variable atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:382:45: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'edit_mode_button_press_event_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:451:45: note: You might need to cast the function pointer here atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:382:45: note: Parameter 'widget' can be declared as pointer to const atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:383:50: style: Parameter 'event' can be declared as pointer to const. However it seems that 'edit_mode_button_press_event_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:451:45: note: You might need to cast the function pointer here atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:383:50: note: Parameter 'event' can be declared as pointer to const atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:384:54: style: Parameter 'etoolbar' can be declared as pointer to const. However it seems that 'edit_mode_button_press_event_cb' is a callback function, if 'etoolbar' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:451:45: note: You might need to cast the function pointer here atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:384:54: note: Parameter 'etoolbar' can be declared as pointer to const atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:423:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:441:49: style: Parameter 'etoolbar' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:598:23: style: Variable 'etoolbar' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1352:21: style: Variable 'model' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1506:24: style: Variable 'toolitem' can be declared as pointer to const [constVariablePointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1582:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'egg_editable_toolbar_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1643:32: note: You might need to cast the function pointer here atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1582:50: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1613:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'egg_editable_toolbar_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1644:32: note: You might need to cast the function pointer here atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1613:48: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1694:41: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1704:52: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1705:56: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] atril-1.28.2/cut-n-paste/toolbar-editor/egg-editable-toolbar.c:1718:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] atril-1.28.2/libdocument/ev-document-annotations.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-attachments.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-backends-manager.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-find.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-fonts.h:25:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-forms.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-images.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-layers.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-links.h:25:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-misc.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document.h:24:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-security.h:25:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-text.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-thumbnails.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-document-transition.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-file-exporter.h:24:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-form-field.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-layer.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-init.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-link-action.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-link-dest.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-link.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-mapping-list.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-page.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-render-context.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-selection.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libdocument/ev-transition-effect.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libmisc/ev-page-action-widget.c:205:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] atril-1.28.2/libview/ev-stock-icons.h:25:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libmisc/ev-page-action.c:96:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_page_action_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/libmisc/ev-page-action.c:112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_page_action_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/libmisc/ev-page-action.c:219:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOL_ITEM [valueFlowBailoutIncompleteVar] atril-1.28.2/libview/ev-document-model.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libmisc/ev-page-action.c:154:44: style:inconclusive: Function 'ev_page_action_set_model' argument 1 names different: declaration 'page_action' definition 'page'. [funcArgNamesDifferent] atril-1.28.2/libmisc/ev-page-action.h:60:56: note: Function 'ev_page_action_set_model' argument 1 names different: declaration 'page_action' definition 'page'. atril-1.28.2/libmisc/ev-page-action.c:154:44: note: Function 'ev_page_action_set_model' argument 1 names different: declaration 'page_action' definition 'page'. atril-1.28.2/libmisc/ev-page-action.c:167:47: style:inconclusive: Function 'ev_page_action_set_links_model' argument 1 names different: declaration 'page_action' definition 'page'. [funcArgNamesDifferent] atril-1.28.2/libmisc/ev-page-action.h:62:56: note: Function 'ev_page_action_set_links_model' argument 1 names different: declaration 'page_action' definition 'page'. atril-1.28.2/libmisc/ev-page-action.c:167:47: note: Function 'ev_page_action_set_links_model' argument 1 names different: declaration 'page_action' definition 'page'. atril-1.28.2/libmisc/ev-page-action.c:58:30: style: Parameter 'action' can be declared as pointer to const. However it seems that 'create_tool_item' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/libmisc/ev-page-action.c:220:35: note: You might need to cast the function pointer here atril-1.28.2/libmisc/ev-page-action.c:58:30: note: Parameter 'action' can be declared as pointer to const atril-1.28.2/libmisc/ev-page-action.c:119:23: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_page_action_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/libmisc/ev-page-action.c:216:31: note: You might need to cast the function pointer here atril-1.28.2/libmisc/ev-page-action.c:119:23: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/libmisc/ev-page-action.c:138:21: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_page_action_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/libmisc/ev-page-action.c:217:31: note: You might need to cast the function pointer here atril-1.28.2/libmisc/ev-page-action.c:138:21: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/libview/ev-form-field-accessible.h:23:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libview/ev-image-accessible.h:23:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libview/ev-job-scheduler.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libview/ev-jobs.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libview/ev-link-accessible.h:22:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libview/ev-view-accessible.h:22:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libview/ev-pixbuf-cache.h:25:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libview/ev-print-operation.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libview/ev-timeline.h:23:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libview/ev-transition-animation.h:23:0: error: #error "This is a private header." [preprocessorErrorDirective] atril-1.28.2/libview/ev-page-cache.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libview/ev-view-cursor.h:21:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/libview/ev-view-presentation.h:22:0: error: #error "Only can be included directly." [preprocessorErrorDirective] atril-1.28.2/previewer/ev-previewer.c:87:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer.c:111:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] atril-1.28.2/properties/ev-properties-main.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GObjectClass [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:129:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:137:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:145:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:156:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:165:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:374:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FIT_PAGE [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:482:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_previewer_window_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:526:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_previewer_window_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:640:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:661:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] atril-1.28.2/previewer/ev-previewer-window.c:500:21: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_previewer_window_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/previewer/ev-previewer-window.c:630:32: note: You might need to cast the function pointer here atril-1.28.2/previewer/ev-previewer-window.c:500:21: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/previewer/ev-previewer-window.c:645:43: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] atril-1.28.2/previewer/ev-previewer-window.c:44:20: style: struct member '_EvPreviewerWindow::dpi' is never used. [unusedStructMember] atril-1.28.2/backend/epub/minizip/unzip.c:1363:12: style: The comparison 'err == 0' is always true. [knownConditionTrueFalse] atril-1.28.2/backend/epub/minizip/unzip.c:1353:13: note: 'err' is assigned value '0' here. atril-1.28.2/backend/epub/minizip/unzip.c:1363:12: note: The comparison 'err == 0' is always true. atril-1.28.2/backend/epub/minizip/unzip.c:1244:6: style: Variable 's->num_file' is assigned an expression that holds the same value. [redundantAssignment] atril-1.28.2/backend/epub/minizip/unzip.c:1219:19: note: num_fileSaved is assigned 's->num_file' here. atril-1.28.2/backend/epub/minizip/unzip.c:1244:6: note: Variable 's->num_file' is assigned an expression that holds the same value. atril-1.28.2/backend/epub/minizip/unzip.c:565:56: style: Parameter 'pzlib_filefunc64_32_def' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/minizip/unzip.c:739:60: style: Parameter 'pzlib_filefunc32_def' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/minizip/unzip.c:752:59: style: Parameter 'pzlib_filefunc_def' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/minizip/unzip.c:802:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/unzip.c:1271:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/unzip.c:1323:19: style: Parameter 'file_pos' can be declared as pointer to const [constParameterPointer] atril-1.28.2/backend/epub/minizip/unzip.c:1619:32: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/unzip.c:1862:32: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/unzip.c:1880:32: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/unzip.c:2028:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] atril-1.28.2/backend/epub/minizip/unzip.c:588:25: warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file [uninitvar] atril-1.28.2/backend/epub/minizip/unzip.c:760:38: note: Calling function 'unzOpenInternal', 2nd argument '&zlib_filefunc64_32_def_fill' value is atril-1.28.2/backend/epub/minizip/unzip.c:588:25: note: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file atril-1.28.2/properties/ev-properties-view.c:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_properties_view_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/properties/ev-properties-view.c:276:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/properties/ev-properties-view.c:326:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_INFO_TITLE [valueFlowBailoutIncompleteVar] atril-1.28.2/backend/epub/minizip/unzip.c:1062:22: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] atril-1.28.2/backend/epub/minizip/unzip.c:1070:14: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] atril-1.28.2/backend/epub/minizip/unzip.c:1073:14: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] atril-1.28.2/backend/epub/minizip/unzip.c:1498:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] atril-1.28.2/shell/eggfindbar.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_find_bar_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/eggfindbar.c:295:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_BOTH_HORIZ [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/eggfindbar.c:398:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_find_bar_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/eggfindbar.c:452:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_find_bar_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/eggfindbar.c:483:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_find_bar_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-annotation-properties-dialog.c:65:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_annotation_properties_dialog_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-annotation-properties-dialog.c:140:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-annotation-properties-dialog.c:238:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-annotation-properties-dialog.c:72:26: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_annotation_properties_dialog_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-annotation-properties-dialog.c:229:31: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-annotation-properties-dialog.c:72:26: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/properties/ev-properties-view.c:402:2: error: Memory leak: properties.uri [memleak] atril-1.28.2/properties/ev-properties-view.c:221:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] atril-1.28.2/properties/ev-properties-view.c:389:48: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] atril-1.28.2/properties/ev-properties-view.c:55:11: style: struct member 'PropertyInfo::property' is never used. [unusedStructMember] atril-1.28.2/shell/eggfindbar.c:264:14: style: Variable 'wbar' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/eggfindbar.c:405:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'egg_find_bar_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/eggfindbar.c:89:32: note: You might need to cast the function pointer here atril-1.28.2/shell/eggfindbar.c:405:42: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/eggfindbar.c:427:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'egg_find_bar_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/eggfindbar.c:90:32: note: You might need to cast the function pointer here atril-1.28.2/shell/eggfindbar.c:427:40: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/eggfindbar.c:430:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/eggfindbar.c:644:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-bookmark-action.c:78:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-bookmark-action.c:45:44: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-bookmark-action.c:53:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_bookmark_action_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-bookmark-action.c:71:39: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-bookmark-action.c:53:48: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-bookmark-action.c:83:37: style: Parameter 'bookmark' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-bookmark-action.c:104:48: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-application.c:104:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_NON_UNIQUE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-application.c:217:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINDIR [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-application.c:896:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_application_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-file-monitor.c:72:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_file_monitor_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-file-monitor.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-application.c:616:17: style: Checking if unsigned expression 'timestamp' is less than zero. [unsignedLessThanZero] atril-1.28.2/shell/ev-application.c:709:17: style: Checking if unsigned expression 'timestamp' is less than zero. [unsignedLessThanZero] atril-1.28.2/shell/ev-bookmarks.c:90:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_bookmarks_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-bookmarks.c:170:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-bookmarks.c:205:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-application.c:289:21: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-application.c:587:52: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-application.c:812:10: style: Variable 'l' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-application.c:1010:9: style: Variable 'l' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-application.c:1026:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-application.c:1041:40: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-application.c:1055:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-daemon.c:113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINDIR [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-daemon.c:369:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_daemon_application_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-daemon.c:408:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_daemon_application_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-daemon.c:432:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_daemon_application_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-daemon.c:453:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_IS_SERVICE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-bookmarks.c:55:34: style: Parameter 'a' can be declared as pointer to const. However it seems that 'ev_bookmark_compare' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-bookmarks.c:272:81: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-bookmarks.c:55:34: note: Parameter 'a' can be declared as pointer to const atril-1.28.2/shell/ev-bookmarks.c:56:34: style: Parameter 'b' can be declared as pointer to const. However it seems that 'ev_bookmark_compare' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-bookmarks.c:272:81: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-bookmarks.c:56:34: note: Parameter 'b' can be declared as pointer to const atril-1.28.2/shell/ev-bookmarks.c:94:33: style: Parameter 'bookmarks' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-bookmarks.c:102:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_bookmarks_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-bookmarks.c:160:39: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-bookmarks.c:102:42: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-bookmarks.c:183:31: style: Parameter 'metadata' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-bookmarks.c:206:29: style: Variable 'bm' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-bookmarks.c:219:42: style: Parameter 'bookmarks' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-history.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_history_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-history.c:77:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-daemon.c:206:52: warning: Either the condition 'doc!=NULL' is redundant or there is possible null pointer dereference: doc. [nullPointerRedundantCheck] atril-1.28.2/shell/ev-daemon.c:202:17: note: Assuming that condition 'doc!=NULL' is not redundant atril-1.28.2/shell/ev-daemon.c:206:52: note: Null pointer dereference atril-1.28.2/shell/ev-daemon.c:207:9: warning: Either the condition 'doc!=NULL' is redundant or there is possible null pointer dereference: doc. [nullPointerRedundantCheck] atril-1.28.2/shell/ev-daemon.c:202:17: note: Assuming that condition 'doc!=NULL' is not redundant atril-1.28.2/shell/ev-daemon.c:207:9: note: Null pointer dereference atril-1.28.2/shell/ev-daemon.c:129:36: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'name_appeared_cb' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-daemon.c:251:57: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-daemon.c:129:36: note: Parameter 'connection' can be declared as pointer to const atril-1.28.2/shell/ev-daemon.c:132:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'name_appeared_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-daemon.c:251:57: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-daemon.c:132:36: note: Parameter 'user_data' can be declared as pointer to const atril-1.28.2/shell/ev-history.c:87:50: style:inconclusive: Function 'ev_history_add_link' argument 2 names different: declaration 'linkk' definition 'link'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-history.h:58:20: note: Function 'ev_history_add_link' argument 2 names different: declaration 'linkk' definition 'link'. atril-1.28.2/shell/ev-history.c:87:50: note: Function 'ev_history_add_link' argument 2 names different: declaration 'linkk' definition 'link'. atril-1.28.2/shell/ev-history.c:124:36: style: Parameter 'history' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-loading-message.c:80:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_loading_message_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-loading-message.c:91:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_loading_message_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-loading-message.c:105:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_loading_message_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-loading-message.c:126:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_loading_message_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-loading-message.c:138:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_loading_message_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-loading-message.c:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_loading_message_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-media-player-keys.c:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-media-player-keys.c:110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-media-player-keys.c:124:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-media-player-keys.c:225:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_media_player_keys_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-media-player-keys.c:131:21: style: Parameter 'sender_name' can be declared as pointer to const. However it seems that 'media_player_key_pressed_cb' is a callback function, if 'sender_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-media-player-keys.c:178:2: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-media-player-keys.c:131:21: note: Parameter 'sender_name' can be declared as pointer to const atril-1.28.2/shell/ev-media-player-keys.c:132:21: style: Parameter 'signal_name' can be declared as pointer to const. However it seems that 'media_player_key_pressed_cb' is a callback function, if 'signal_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-media-player-keys.c:178:2: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-media-player-keys.c:132:21: note: Parameter 'signal_name' can be declared as pointer to const atril-1.28.2/shell/ev-metadata.c:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_metadata_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-message-area.c:117:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-metadata.c:115:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_ATTRIBUTE_TYPE_STRING [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-message-area.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-metadata.c:268:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-message-area.c:306:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-metadata.c:316:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-navigation-action-widget.c:68:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_FIRST [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-message-area.c:299:26: style:inconclusive: Function 'ev_message_area_set_image_from_stock' argument 2 names different: declaration 'stock_id' definition 'icon_name'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-message-area.h:61:23: note: Function 'ev_message_area_set_image_from_stock' argument 2 names different: declaration 'stock_id' definition 'icon_name'. atril-1.28.2/shell/ev-message-area.c:299:26: note: Function 'ev_message_area_set_image_from_stock' argument 2 names different: declaration 'stock_id' definition 'icon_name'. atril-1.28.2/shell/ev-message-area.c:177:24: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_message_area_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-message-area.c:60:32: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-message-area.c:177:24: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-message-area.c:201:23: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_message_area_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-message-area.c:61:32: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-message-area.c:201:23: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-navigation-action-widget.c:93:64: style:inconclusive: Function 'ev_navigation_action_widget_set_menu' argument 1 names different: declaration 'widget' definition 'button'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-navigation-action-widget.h:46:64: note: Function 'ev_navigation_action_widget_set_menu' argument 1 names different: declaration 'widget' definition 'button'. atril-1.28.2/shell/ev-navigation-action-widget.c:93:64: note: Function 'ev_navigation_action_widget_set_menu' argument 1 names different: declaration 'widget' definition 'button'. atril-1.28.2/shell/ev-navigation-action-widget.c:85:27: style: Parameter 'menu' can be declared as pointer to const. However it seems that 'menu_detacher' is a callback function, if 'menu' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-navigation-action-widget.c:113:34: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-navigation-action-widget.c:85:27: note: Parameter 'menu' can be declared as pointer to const atril-1.28.2/shell/ev-navigation-action.c:110:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-navigation-action.c:174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_navigation_action_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-navigation-action.c:198:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_navigation_action_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-navigation-action.c:225:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_navigation_action_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-navigation-action.c:238:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOL_ITEM [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-open-recent-action.c:58:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RECENT_SORT_MRU [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-open-recent-action.c:91:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_MENU_TOOL_BUTTON [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-open-recent-action.c:79:49: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-progress-message-area.c:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-progress-message-area.c:88:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-progress-message-area.c:106:26: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_progress_message_area_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-progress-message-area.c:54:32: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-progress-message-area.c:106:26: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-progress-message-area.c:126:24: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_progress_message_area_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-progress-message-area.c:55:32: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-progress-message-area.c:126:24: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-properties-dialog.c:126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_password_view_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:81:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:109:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PASSWORD_SAVE_NEVER [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:217:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:225:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-password-view.c:257:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-properties-dialog.c:51:59: style: Parameter 'properties_class' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-properties-fonts.c:67:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_properties_fonts_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-properties-fonts.c:87:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_FONTS_COLUMN_NAME [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-properties-fonts.c:121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-properties-fonts.c:214:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-properties-license.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-properties-license.c:125:57: style:inconclusive: Function 'ev_properties_license_set_license' argument 1 names different: declaration 'properties_license' definition 'properties'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-properties-license.h:45:68: note: Function 'ev_properties_license_set_license' argument 1 names different: declaration 'properties_license' definition 'properties'. atril-1.28.2/shell/ev-properties-license.c:125:57: note: Function 'ev_properties_license_set_license' argument 1 names different: declaration 'properties_license' definition 'properties'. atril-1.28.2/shell/ev-properties-license.c:42:61: style: Parameter 'properties_license_class' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-sidebar-annotations.c:86:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_annotations_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-annotations.c:125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ANNOTATION_TYPE_TEXT [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-annotations.c:152:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-annotations.c:250:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-annotations.c:366:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-annotations.c:470:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:82:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_layers_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:124:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_TITLE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_VISIBLE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:165:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_RBGROUP [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:193:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_VISIBLE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:247:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_VISIBLE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:288:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:317:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:341:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_VISIBLE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-layers.c:417:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:231:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:284:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:383:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_attachments_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:407:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:496:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_attachments_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:517:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:542:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:611:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-attachments.c:669:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-bookmarks.c:191:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-bookmarks.c:408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_bookmarks_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-bookmarks.c:432:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-bookmarks.c:543:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-annotations.c:221:22: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_annotations_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-annotations.c:242:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-annotations.c:221:22: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-layers.c:89:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_layers_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-layers.c:309:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-layers.c:89:17: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-layers.c:160:17: style: Parameter 'rb_group' can be declared as pointer to const. However it seems that 'clear_rb_group' is a callback function, if 'rb_group' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-layers.c:207:32: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-layers.c:160:17: note: Parameter 'rb_group' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-attachments.c:151:47: style: Parameter 'key' can be declared as pointer to const. However it seems that 'icon_cache_update_icon' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-attachments.c:171:20: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-attachments.c:151:47: note: Parameter 'key' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-attachments.c:155:13: style: Variable 'pixbuf' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-sidebar-attachments.c:457:35: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_attachments_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-attachments.c:508:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-attachments.c:457:35: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-bookmarks.c:163:32: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_bookmarks' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-bookmarks.c:190:51: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-bookmarks.c:163:32: note: Parameter 'a' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-bookmarks.c:164:32: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_bookmarks' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-bookmarks.c:190:51: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-bookmarks.c:164:32: note: Parameter 'b' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-bookmarks.c:363:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'ev_sidebar_bookmarks_button_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-bookmarks.c:442:9: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-bookmarks.c:363:56: note: Parameter 'event' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-bookmarks.c:511:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_bookmarks_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-bookmarks.c:533:40: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-bookmarks.c:511:48: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-bookmarks.c:596:55: style: Parameter 'sidebar_page' can be declared as pointer to const. However it seems that 'ev_sidebar_bookmarks_support_document' is a callback function, if 'sidebar_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-bookmarks.c:611:35: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-bookmarks.c:596:55: note: Parameter 'sidebar_page' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-bookmarks.c:597:55: style: Parameter 'document' can be declared as pointer to const. However it seems that 'ev_sidebar_bookmarks_support_document' is a callback function, if 'document' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-bookmarks.c:611:35: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-bookmarks.c:597:55: note: Parameter 'document' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-page.c:64:43: style:inconclusive: Function 'ev_sidebar_page_get_label' argument 1 names different: declaration 'page' definition 'sidebar_page'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-sidebar-page.h:59:65: note: Function 'ev_sidebar_page_get_label' argument 1 names different: declaration 'page' definition 'sidebar_page'. atril-1.28.2/shell/ev-sidebar-page.c:64:43: note: Function 'ev_sidebar_page_get_label' argument 1 names different: declaration 'page' definition 'sidebar_page'. atril-1.28.2/shell/ev-sidebar-links.c:167:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_links_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:177:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_links_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:202:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:233:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:266:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_MARKUP [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:292:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:341:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:403:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:501:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MININT [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:556:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_EXPAND [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:590:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:705:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-utils.c:79:44: style: Parameter 'uri' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-sidebar.c:82:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar.c:236:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_space [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar.c:338:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-links.c:314:8: error: Dereferencing 'link' after it is deallocated / released [deallocuse] atril-1.28.2/shell/ev-sidebar-links.c:316:5: error: Memory pointed to by 'link' is freed twice. [doubleFree] atril-1.28.2/shell/ev-sidebar-links.c:307:3: note: Memory pointed to by 'link' is freed twice. atril-1.28.2/shell/ev-sidebar-links.c:316:5: note: Memory pointed to by 'link' is freed twice. atril-1.28.2/shell/ev-sidebar-links.c:529:25: style:inconclusive: Function 'update_page_callback' argument 3 names different: declaration 'current_page' definition 'new_page'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-sidebar-links.c:69:28: note: Function 'update_page_callback' argument 3 names different: declaration 'current_page' definition 'new_page'. atril-1.28.2/shell/ev-sidebar-links.c:529:25: note: Function 'update_page_callback' argument 3 names different: declaration 'current_page' definition 'new_page'. atril-1.28.2/shell/ev-sidebar-links.c:607:51: style:inconclusive: Function 'ev_sidebar_links_set_links_model' argument 1 names different: declaration 'links' definition 'sidebar_links'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-sidebar-links.c:74:74: note: Function 'ev_sidebar_links_set_links_model' argument 1 names different: declaration 'links' definition 'sidebar_links'. atril-1.28.2/shell/ev-sidebar-links.c:607:51: note: Function 'ev_sidebar_links_set_links_model' argument 1 names different: declaration 'links' definition 'sidebar_links'. atril-1.28.2/shell/ev-sidebar-links.c:99:25: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_links_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-links.c:194:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-links.c:99:25: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-links.c:118:23: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_links_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-links.c:195:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-links.c:118:23: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-links.c:572:62: style: Parameter 'data' can be declared as pointer to const. However it seems that 'page_link_tree_sort' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-links.c:622:42: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-links.c:572:62: note: Parameter 'data' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-thumbnails.c:264:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_thumbnails_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-thumbnails.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_sidebar_thumbnails_parent_class [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-thumbnails.c:459:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_RUN_MAIN_LOOP [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-thumbnails.c:675:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER_PIXBUF [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-thumbnails.c:699:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER_PIXBUF [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar-thumbnails.c:764:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_MODEL [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-sidebar.c:104:21: style: Parameter 'main_widget' can be declared as pointer to const [constParameterPointer] atril-1.28.2/shell/ev-sidebar.c:134:26: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar.c:184:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar.c:134:26: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar.c:161:24: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar.c:183:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar.c:161:24: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/main.c:56:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/main.c:163:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/main.c:236:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] atril-1.28.2/shell/ev-window.c:2176:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] atril-1.28.2/thumbnailer/atril-thumbnailer.c:57:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] atril-1.28.2/thumbnailer/atril-thumbnailer.c:145:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_ERROR_ENCRYPTED [valueFlowBailoutIncompleteVar] atril-1.28.2/thumbnailer/atril-thumbnailer.c:77:9: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] atril-1.28.2/thumbnailer/atril-thumbnailer.c:293:3: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] atril-1.28.2/thumbnailer/atril-thumbnailer.c:53:24: style: Parameter 'data' can be declared as pointer to const. However it seems that 'time_monitor' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/thumbnailer/atril-thumbnailer.c:77:45: note: You might need to cast the function pointer here atril-1.28.2/thumbnailer/atril-thumbnailer.c:53:24: note: Parameter 'data' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-thumbnails.c:688:1: error: Memory leak: renderer [memleak] atril-1.28.2/shell/ev-sidebar-thumbnails.c:1013:57: style:inconclusive: Function 'ev_sidebar_thumbnails_clear_model' argument 1 names different: declaration 'sidebar' definition 'sidebar_thumbnails'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-sidebar-thumbnails.c:93:86: note: Function 'ev_sidebar_thumbnails_clear_model' argument 1 names different: declaration 'sidebar' definition 'sidebar_thumbnails'. atril-1.28.2/shell/ev-sidebar-thumbnails.c:1013:57: note: Function 'ev_sidebar_thumbnails_clear_model' argument 1 names different: declaration 'sidebar' definition 'sidebar_thumbnails'. atril-1.28.2/shell/ev-sidebar-thumbnails.c:203:17: style: Variable 'thumb_size' can be declared as pointer to const [constVariablePointer] atril-1.28.2/shell/ev-sidebar-thumbnails.c:271:21: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ev_sidebar_thumbnails_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-sidebar-thumbnails.c:327:33: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-sidebar-thumbnails.c:271:21: note: Parameter 'pspec' can be declared as pointer to const atril-1.28.2/shell/ev-sidebar-thumbnails.c:71:16: style: struct member '_EvSidebarThumbnailsPrivate::pages_done' is never used. [unusedStructMember] diff: 2.18.0 atril-1.28.2/backend/dvi/mdvi-lib/sysdeps.h:56:2: error: #error No appropriate 32bit native type found. Fix sysdeps.h [preprocessorErrorDirective] head atril-1.28.2/backend/epub/epub-document.c:1625:12: style: Variable 'listiter' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1134:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1135:25: style: Variable 'action_layer' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1135:40: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1137:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1138:28: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1143:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head atril-1.28.2/backend/pdf/ev-poppler.cc:1173:0: error: failed to evaluate #if condition, undefined function-like macro invocation: POPPLER_CHECK_VERSION( ... ) [syntaxError] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1215:50: style: Checking if unsigned expression 'strlen(ev_link_get_title(link))' is less than zero. [unsignedLessThanZero] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1227:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_MARKUP [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1247:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1251:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1256:11: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1279:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1288:18: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1289:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvMapping [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1289:21: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1314:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1333:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1370:19: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1372:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvMapping [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1372:22: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1397:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1443:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1533:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPPLER_FIND_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1548:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1549:21: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1549:28: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1598:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1606:28: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1665:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_FORMAT_PS [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1678:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1704:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1801:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_FORMAT_PS [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1809:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1810:19: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1810:23: style: Variable 'ctx' is assigned a value that is never used. [unreadVariable] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1822:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1829:62: style: Parameter 'exporter' can be declared as pointer to const. However it seems that 'pdf_document_file_exporter_get_capabilities' is a callback function, if 'exporter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pdf/ev-poppler.cc:1855:28: note: You might need to cast the function pointer here atril-1.28.2/backend/pdf/ev-poppler.cc:1829:62: note: Parameter 'exporter' can be declared as pointer to const 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1832:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FILE_EXPORTER_CAN_PAGE_SET [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:184:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1880:23: style: Parameter 'text' can be declared as pointer to const. However it seems that 'pdf_selection_render_selection' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pdf/ev-poppler.cc:1989:35: note: You might need to cast the function pointer here atril-1.28.2/backend/pdf/ev-poppler.cc:1880:23: note: Parameter 'text' can be declared as pointer to const 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1881:23: style: Parameter 'base' can be declared as pointer to const. However it seems that 'pdf_selection_render_selection' is a callback function, if 'base' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pdf/ev-poppler.cc:1989:35: note: You might need to cast the function pointer here atril-1.28.2/backend/pdf/ev-poppler.cc:1881:23: note: Parameter 'base' can be declared as pointer to const 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1905:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1918:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1919:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1936:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1947:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1951:15: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:1979:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2014:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPPLER_SELECTION_GLYPH [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2040:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2057:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2058:56: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2062:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_UNDERLINE_SINGLE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pdf_document_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:208:2: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2113:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2133:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2208:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_FORM_FIELD_TEXT_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:224:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPPLER_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2321:14: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2323:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2327:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvMapping [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2327:20: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2335:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2353:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2364:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2380:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2385:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2395:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2400:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2410:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2427:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2443:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2460:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2476:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2481:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2491:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2496:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2505:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:250:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2510:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2520:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2525:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2535:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2587:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ANNOTATION_TEXT_ICON_UNKNOWN [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2620:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPPLER_ANNOT_TEXT_ICON_NOTE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2702:35: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2702:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPPLER_TYPE_ANNOT_TYPE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:278:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2816:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2820:18: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2821:14: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2834:13: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2846:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvMapping [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2846:19: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2853:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2875:9: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2884:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2896:24: style: The scope of the variable 'annot_mapping' can be reduced. [variableScope] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2898:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2899:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2906:24: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2907:62: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2912:47: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2921:30: style: Parameter 'rect' can be declared as pointer to const. However it seems that 'pdf_document_annotations_add_annotation' is a callback function, if 'rect' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pdf/ev-poppler.cc:3088:26: note: You might need to cast the function pointer here atril-1.28.2/backend/pdf/ev-poppler.cc:2921:30: note: Parameter 'rect' can be declared as pointer to const 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2935:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:294:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2991:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvMapping [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2991:18: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:2994:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3000:18: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3001:14: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3014:8: style: Variable 'list' is assigned a value that is never used. [unreadVariable] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3019:10: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:301:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3033:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3037:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ANNOTATIONS_SAVE_CONTENTS [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3080:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3105:35: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3107:8: style: The scope of the variable 'new_max' can be reduced. [variableScope] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3111:16: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3135:17: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3156:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3170:16: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3198:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3214:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3247:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3264:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LAYERS_COLUMN_TITLE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3286:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3291:11: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3310:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3320:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:3330:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:333:16: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:348:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:413:6: style: The scope of the variable 'i' can be reduced. [variableScope] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:416:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:483:9: style: The scope of the variable 'aux' can be reduced. [variableScope] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:486:6: style: The scope of the variable 'i' can be reduced. [variableScope] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:486:9: style: The scope of the variable 'j' can be reduced. [variableScope] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:490:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:518:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:519:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:541:22: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:556:22: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:569:20: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:581:30: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:637:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EvDocumentInfo [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:637:9: style: C-style pointer casting [cstyleCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:658:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:674:69: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:675:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:774:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:777:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:780:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:780:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:809:43: style: Parameter 'document' can be declared as pointer to const. However it seems that 'pdf_document_support_synctex' is a callback function, if 'document' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pdf/ev-poppler.cc:831:39: note: You might need to cast the function pointer here atril-1.28.2/backend/pdf/ev-poppler.cc:809:43: note: Parameter 'document' can be declared as pointer to const 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:817:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:836:57: style: Parameter 'document_security' can be declared as pointer to const. However it seems that 'pdf_document_has_document_security' is a callback function, if 'document_security' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/backend/pdf/ev-poppler.cc:857:33: note: You might need to cast the function pointer here atril-1.28.2/backend/pdf/ev-poppler.cc:836:57: note: Parameter 'document_security' can be declared as pointer to const 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:846:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:864:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:876:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:879:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:907:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:909:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:911:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:913:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:915:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:917:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:919:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:921:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:929:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:932:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:947:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:955:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:957:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:959:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:964:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:965:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:966:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_FONTS_COLUMN_NAME [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:985:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 atril-1.28.2/backend/pdf/ev-poppler.cc:988:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:152:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:257:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_NAME [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:291:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_toolbar_editor_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:295:39: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:296:43: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:371:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:384:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_IMAGE_STOCK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:444:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:513:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_LARGE_TOOLBAR [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:593:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DEST_DEFAULT_ALL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:626:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:80:9: style: Variable 'key1' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/cut-n-paste/toolbar-editor/egg-toolbar-editor.c:82:9: style: Variable 'key2' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/libdocument/ev-annotation.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-async-renderer.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-backends-manager.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-debug.h:36:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-annotations.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-attachments.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-find.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-fonts.h:25:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-forms.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-images.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-layers.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-links.h:25:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-misc.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-security.h:25:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-text.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-thumbnails.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document-transition.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-document.h:24:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-file-exporter.h:24:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-file-helpers.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-form-field.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-init.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-layer.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-link-action.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-link-dest.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-link.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-mapping-list.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-module.h:42:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-page.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-render-context.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-selection.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libdocument/ev-transition-effect.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:105:68: style: Parameter 'event' can be declared as pointer to const. However it seems that 'page_scroll_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/libmisc/ev-page-action-widget.c:165:2: note: You might need to cast the function pointer here atril-1.28.2/libmisc/ev-page-action-widget.c:105:68: note: Parameter 'event' can be declared as pointer to const 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_DOWN [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_MOTION_MASK [valueFlowBailoutIncompleteVar] head atril-1.28.2/libmisc/ev-page-action-widget.c:205:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:227:26: style:inconclusive: Function 'ev_page_action_widget_set_model' argument 2 names different: declaration 'doc_model' definition 'model'. [funcArgNamesDifferent] atril-1.28.2/libmisc/ev-page-action-widget.h:45:33: note: Function 'ev_page_action_widget_set_model' argument 2 names different: declaration 'doc_model' definition 'model'. atril-1.28.2/libmisc/ev-page-action-widget.c:227:26: note: Function 'ev_page_action_widget_set_model' argument 2 names different: declaration 'doc_model' definition 'model'. 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:273:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_page_action_widget_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:308:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:335:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:361:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:412:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_LINK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:448:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_ITER [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:462:16: style: Variable 'filter_model' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:47:16: style: struct member '_EvPageActionWidget::filter_model' is never used. [unusedStructMember] 2.18.0 atril-1.28.2/libmisc/ev-page-action-widget.c:486:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER_TEXT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/libview/ev-document-model.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-form-field-accessible.h:23:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-image-accessible.h:23:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-job-scheduler.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-jobs.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-link-accessible.h:22:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-page-cache.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-pixbuf-cache.h:25:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-print-operation.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-stock-icons.h:25:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-timeline.h:23:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-transition-animation.h:23:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-view-accessible.h:22:2: error: #error "This is a private header." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-view-cursor.h:21:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/libview/ev-view-presentation.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] 2.18.0 atril-1.28.2/shell/ev-window.c:1164:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_MODE_PRESENTATION [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1225:15: style: Variable 'enum_value' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/shell/ev-window.c:1225:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TYPE_SIZING_MODE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1300:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TYPE_SIZING_MODE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1553:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1609:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_RUN_MAIN_LOOP [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGG_TB_MODEL_STYLES_MASK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1850:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:1994:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2024:15: style:inconclusive: Function 'ev_window_reload_job_cb' argument 2 names different: declaration 'window' definition 'ev_window'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-window.c:312:27: note: Function 'ev_window_reload_job_cb' argument 2 names different: declaration 'window' definition 'ev_window'. atril-1.28.2/shell/ev-window.c:2024:15: note: Function 'ev_window_reload_job_cb' argument 2 names different: declaration 'window' definition 'ev_window'. 2.18.0 atril-1.28.2/shell/ev-window.c:2116:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2162:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] head atril-1.28.2/shell/ev-window.c:2176:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.18.0 atril-1.28.2/shell/ev-window.c:2258:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:228:20: style: struct member '_EvWindowPrivate::print_settings' is never used. [unusedStructMember] 2.18.0 atril-1.28.2/shell/ev-window.c:229:20: style: struct member '_EvWindowPrivate::print_page_setup' is never used. [unusedStructMember] 2.18.0 atril-1.28.2/shell/ev-window.c:2451:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2532:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2549:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2551:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 atril-1.28.2/shell/ev-window.c:2670:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_ATTRIBUTE_TIME_MODIFIED [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2678:38: style:inconclusive: Function 'ev_window_reload_document' argument 1 names different: declaration 'window' definition 'ev_window'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-window.c:309:76: note: Function 'ev_window_reload_document' argument 1 names different: declaration 'window' definition 'ev_window'. atril-1.28.2/shell/ev-window.c:2678:38: note: Function 'ev_window_reload_document' argument 1 names different: declaration 'window' definition 'ev_window'. 2.18.0 atril-1.28.2/shell/ev-window.c:2769:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2796:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2949:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_MIDDLE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:2985:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3088:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3090:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 atril-1.28.2/shell/ev-window.c:3195:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3218:35: style:inconclusive: Function 'ev_window_save_job_cb' argument 1 names different: declaration 'save' definition 'job'. [funcArgNamesDifferent] atril-1.28.2/shell/ev-window.c:315:76: note: Function 'ev_window_save_job_cb' argument 1 names different: declaration 'save' definition 'job'. atril-1.28.2/shell/ev-window.c:3218:35: note: Function 'ev_window_save_job_cb' argument 1 names different: declaration 'save' definition 'job'. 2.18.0 atril-1.28.2/shell/ev-window.c:3239:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3276:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3371:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3398:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 atril-1.28.2/shell/ev-window.c:3604:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3658:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3692:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3723:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3725:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 atril-1.28.2/shell/ev-window.c:3909:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:3986:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4147:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FIT_PAGE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4158:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FIT_PAGE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4168:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FIT_WIDTH [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4179:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FIT_WIDTH [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_BOTH_HORIZ [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4594:15: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/shell/ev-window.c:461:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_INFO_PERMISSIONS [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4657:13: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/shell/ev-window.c:4666:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4677:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4809:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4856:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4878:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4895:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:4912:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5009:32: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_bookmarks' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-window.c:5042:44: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-window.c:5009:32: note: Parameter 'a' can be declared as pointer to const 2.18.0 atril-1.28.2/shell/ev-window.c:5010:18: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_bookmarks' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-window.c:5042:44: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-window.c:5010:18: note: Parameter 'b' can be declared as pointer to const 2.18.0 atril-1.28.2/shell/ev-window.c:5044:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5110:14: style: Variable 'document' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/shell/ev-window.c:5196:14: style: Variable 'enum_value' can be declared as pointer to const [constVariablePointer] 2.18.0 atril-1.28.2/shell/ev-window.c:5202:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TYPE_SIZING_MODE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5225:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5242:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FREE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5434:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5699:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5767:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5905:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_JOB_PRIORITY_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:5973:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPHY_ZOOM_EXPAND_WINDOW_TO_FIT [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6097:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6134:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NO [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6135:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 atril-1.28.2/shell/ev-window.c:632:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_SIZING_FIT_PAGE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6391:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6412:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6783:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TYPE_PAGE_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6887:43: style: Parameter 'ev_sidebar_links' can be declared as pointer to const. However it seems that 'sidebar_widget_model_set' is a callback function, if 'ev_sidebar_links' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-window.c:8009:2: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-window.c:6887:43: note: Parameter 'ev_sidebar_links' can be declared as pointer to const 2.18.0 atril-1.28.2/shell/ev-window.c:6924:46: style: Parameter 'ev_sidebar_page' can be declared as pointer to const. However it seems that 'sidebar_page_main_widget_update_cb' is a callback function, if 'ev_sidebar_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-window.c:7998:2: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-window.c:6924:46: note: Parameter 'ev_sidebar_page' can be declared as pointer to const 2.18.0 atril-1.28.2/shell/ev-window.c:6941:63: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_state_event_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-window.c:7818:2: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-window.c:6941:63: note: Parameter 'event' can be declared as pointer to const 2.18.0 atril-1.28.2/shell/ev-window.c:6943:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_FULLSCREEN [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:6955:65: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_configure_event_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] atril-1.28.2/shell/ev-window.c:7816:2: note: You might need to cast the function pointer here atril-1.28.2/shell/ev-window.c:6955:65: note: Parameter 'event' can be declared as pointer to const 2.18.0 atril-1.28.2/shell/ev-window.c:6965:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_FULLSCREEN [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7254:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7348:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7381:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7403:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ANNOTATIONS_SAVE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:746:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPHY_ZOOM_FIT_PAGE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7474:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:748:31: style: Redundant condition: window->priv->document. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] 2.18.0 atril-1.28.2/shell/ev-window.c:7502:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7587:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7684:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGG_TB_MODEL_NOT_REMOVABLE [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:7926:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:825:18: style: Parameter 'error' can be declared as pointer to const [constParameterPointer] 2.18.0 atril-1.28.2/shell/ev-window.c:8292:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:8301:43: style: Parameter 'ev_window' can be declared as pointer to const [constParameterPointer] 2.18.0 atril-1.28.2/shell/ev-window.c:843:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 atril-1.28.2/shell/ev-window.c:875:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 atril-1.28.2/shell/ev-window.c:901:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] 2.18.0 atril-1.28.2/shell/ev-window.c:929:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DOCUMENT_LINKS_COLUMN_PAGE_LABEL [valueFlowBailoutIncompleteVar] DONE