LineIdCWESeverityMessage
checkersReportinformationActive checkers: There was critical errors (use --checkers-report=<filename> to see details)
libmenu/cafemenu-tree.c
0noValidConfigurationinformationThis file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
libmenu/cafemenu-tree.h
24preprocessorErrorDirectiveerror#error "libcafe-menu should only be used if you understand that it's subject to frequent change, and is not supported as a fixed API/ABI or as part of the platform"
libmenu/desktop-entries.c
514constParameterPointer398styleParameter 'entry' can be declared as pointer to const
519constParameterPointer398styleParameter 'entry' can be declared as pointer to const
525constParameterPointer398styleParameter 'entry' can be declared as pointer to const
609constVariablePointer398styleVariable 'desktop_entry' can be declared as pointer to const
libmenu/entry-directories.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
205constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
465constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
654constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
680constParameterPointer398styleParameter 'ed' can be declared as pointer to const
1060constParameterPointer398styleParameter 'list' can be declared as pointer to const
1106constVariablePointer398styleVariable 'al' can be declared as pointer to const
1106constVariablePointer398styleVariable 'bl' can be declared as pointer to const
1127constParameterCallback398styleParameter 'ed' can be declared as pointer to const. However it seems that 'get_all_func' is a callback function, if 'ed' is declared with const you might also need to cast function pointer(s).
libmenu/menu-layout.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
125constParameterPointer398styleParameter 'node' can be declared as pointer to const
324constParameterPointer398styleParameter 'node' can be declared as pointer to const
330constParameterPointer398styleParameter 'node' can be declared as pointer to const
577constParameterPointer398styleParameter 'node' can be declared as pointer to const
583constParameterPointer398styleParameter 'node' can be declared as pointer to const
602constVariablePointer398styleVariable 'nr' can be declared as pointer to const
614constVariablePointer398styleVariable 'nr' can be declared as pointer to const
736constVariablePointer398styleVariable 'legacy' can be declared as pointer to const
821constParameterPointer398styleParameter 'node' can be declared as pointer to const
838constParameterPointer398styleParameter 'node' can be declared as pointer to const
857constVariablePointer398styleVariable 'legacy' can be declared as pointer to const
883constVariablePointer398styleVariable 'merge_file' can be declared as pointer to const
908constVariablePointer398styleVariable 'merge' can be declared as pointer to const
947constVariablePointer398styleVariable 'default_layout' can be declared as pointer to const
961constVariablePointer398styleVariable 'menuname' can be declared as pointer to const
1075constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
1353constParameterPointer398styleParameter 'node' can be declared as pointer to const
1426varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1441varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1468varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1674varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1693varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2087redundantAssignment563styleVariable 'prev' is reassigned a value before the old one has been used.
libmenu/menu-monitor.c
298constParameterPointer398styleParameter 'monitor' can be declared as pointer to const
394constVariablePointer398styleVariable 'tmp' can be declared as pointer to const