Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [../unity/UnityCore/Preview.h:65]: (warning) Member variable 'Action::layout_hint' is not initialized in the constructor.
- [../unity/UnityCore/FilesystemLenses.cpp:184]: (style) C-style pointer casting
- [../unity/UnityCore/FilesystemLenses.cpp:185]: (error) Uninitialized variable: self
- [../unity/UnityCore/Indicator.cpp:67]: (performance) Checking for 'entries_' emptiness might be inefficient. Using entries_.empty() instead of entries_.size() can be faster. entries_.size() can take linear time but entries_.empty() is guaranteed to take constant time.
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::active_changed' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::geometry_changed' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::show_now_changed' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::on_show_menu' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::on_secondary_activate' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::on_scroll' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::show_now_' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::active_' is not assigned a value in 'Entry::operator='
- [../unity/UnityCore/IndicatorEntry.cpp:176]: (warning) Member variable 'Entry::geometry_' is not assigned a value in 'Entry::operator='
- [UnityCore/Preview.h:65]: (warning) Member variable 'Action::layout_hint' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::initial_activation_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::layout_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::scroll_view_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::scroll_layout_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::fscroll_view_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::fscroll_layout_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::filter_bar_' is not initialized in the constructor.
- [../unity/dash/LensView.cpp:121]: (warning) Member variable 'LensView::no_results_' is not initialized in the constructor.
- [../unity/dash/ResultRendererTile.cpp:426]: (error) Possible null pointer dereference: container - otherwise it is redundant to check if container is null at line 432
- [../unity/dash/ResultRendererTile.cpp:427]: (error) Possible null pointer dereference: container - otherwise it is redundant to check if container is null at line 432
- [../unity/dash/ResultRendererTile.cpp:428]: (error) Possible null pointer dereference: container - otherwise it is redundant to check if container is null at line 432
- [../unity/dash/ResultView.cpp:98]: (style) Variable 'uri' is assigned a value that is never used
- [../unity/dash/ResultViewGrid.cpp:350]: (style) Unused variable: next_focused_uri
- [../unity/dash/StandaloneDash.cpp:76]: (style) C-style pointer casting
- [../unity/dash/StandaloneDash.cpp:51]: (warning) Member variable 'TestRunner::layout' is not initialized in the constructor.
- [../unity/hud/StandaloneHud.cpp:119]: (style) C-style pointer casting
- [../unity/hud/StandaloneHud.cpp:56]: (warning) Member variable 'TestRunner::layout' is not initialized in the constructor.
- [../unity/hud/StandaloneHud.cpp:56]: (warning) Member variable 'TestRunner::hud_view_' is not initialized in the constructor.
- [../unity/launcher/LayoutSystem.cpp:274]: (warning) Member variable 'LayoutWindow::aspect_ratio' is not initialized in the constructor.
- [../unity/launcher/LayoutSystem.cpp:274]: (warning) Member variable 'LayoutWindow::alpha' is not initialized in the constructor.
- [../unity/launcher/PointerBarrier.cpp:170]: (style) C-style pointer casting
- [../unity/launcher/PointerBarrier.cpp:146]: (style) Variable 'x' is assigned a value that is never used
- [../unity/launcher/PointerBarrier.cpp:148]: (style) Variable 'event' is assigned a value that is never used
- [../unity/launcher/QuicklistManager.cpp:107]: (style) C-style pointer casting
- [../unity/launcher/QuicklistManager.cpp:118]: (style) C-style pointer casting
- [../unity/launcher/SimpleLauncherIcon.cpp:111]: (performance) The conversion from const char* as returned by c_str to std::string creates an unnecessary string copy. Solve that by directly passing the string.
- [../unity/launcher/SimpleLauncherIcon.cpp:113]: (performance) The conversion from const char* as returned by c_str to std::string creates an unnecessary string copy. Solve that by directly passing the string.
- [../unity/launcher/TrashLauncherIcon.cpp:134]: (style) C-style pointer casting
- [../unity/launcher/TrashLauncherIcon.cpp:156]: (style) C-style pointer casting
- [../unity/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp:226]: (style) Variable 'oldPrev' is assigned a value that is never used
- [../unity/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp:226]: (style) Variable 'oldNext' is assigned a value that is never used
- [../unity/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp:462]: (style) Variable 'us' is assigned a value that is never used
- [../unity/plugins/unityshell/src/StartupNotifyService.cpp:45]: (style) C-style pointer casting
- [../unity/plugins/unityshell/src/StartupNotifyService.cpp:34]: (warning) Member variable 'StartupNotifyService::_sn_display' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/StartupNotifyService.cpp:34]: (warning) Member variable 'StartupNotifyService::_sn_monitor' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/UnityShowdesktopHandler.cpp:82]: (warning) Member variable 'ShowdesktopHandler::was_hidden_' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/comptransientfor.cpp:30]: (warning) Member variable 'PrivateCompTransientForReader::mWindow' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:32]: (warning) Member variable 'PrivateMinimizedWindowHandler::mDpy' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:32]: (warning) Member variable 'PrivateMinimizedWindowHandler::mXid' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:32]: (warning) Member variable 'PrivateMinimizedWindowHandler::mLockAcquire' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/minimizedwindowhandler.cpp:232]: (error) Possible null pointer dereference: nextState
- [../unity/plugins/unityshell/src/transientfor.cpp:33]: (warning) Member variable 'PrivateX11TransientForReader::mDpy' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/unity-util-accessible.cpp:289]: (error) Memory leak: atk_event
- [../unity/plugins/unityshell/src/compizminimizedwindowhandler.h:38]: (warning) Member variable 'PrivateCompizMinimizedWindowHandler::mWindow' is not initialized in the constructor.
- [../unity/plugins/unityshell/src/unityshell.cpp:137]: (style) Unused variable: extensions
- [../unity/services/panel-service.c:1363]: (warning) scanf without field width limits can crash with huge input data. To fix this error message add a field width specifier:
- %s => %20s
- %i => %3i
- Sample program that can crash:
- #include <stdio.h>
- int main()
- {
- int a;
- scanf("%i", &a);
- return 0;
- }
- To make it crash:
- perl -e 'print "5"x2100000' | ./a.out
- [../unity/tests/test-gesture-engine/test_gesture_engine.cpp:40]: (style) Variable 'middle_window' is assigned a value that is never used
- [../unity/tests/test-minimize-window-handler/test-minimize-handler.cpp:122]: (style) Variable 'option' is assigned a value that is never used
- [../unity/tests/test_hud.cpp:18]: (warning) Member variable 'TestHud::number_signals_found' is not initialized in the constructor.
- [../unity/tests/unit/TestStaticCairoText.cpp:65]: (error) Mismatching allocation and deallocation: substring
- [../unity/unity-shared/IconRenderer.cpp:219]: (warning) Member variable 'IconRenderer::icon_size' is not initialized in the constructor.
- [../unity/unity-shared/IconRenderer.cpp:219]: (warning) Member variable 'IconRenderer::image_size' is not initialized in the constructor.
- [../unity/unity-shared/IconRenderer.cpp:219]: (warning) Member variable 'IconRenderer::spacing' is not initialized in the constructor.
- [../unity/unity-shared/IconRenderer.cpp:809]: (error) Uninitialized variable: TextureCoord0Location
- [../unity/unity-shared/PluginAdapterCompiz.cpp:245]: (performance) Checking for 'm_ActionList' emptiness might be inefficient. Using m_ActionList.empty() instead of m_ActionList.size() can be faster. m_ActionList.size() can take linear time but m_ActionList.empty() is guaranteed to take constant time.
- [../unity/unity-shared/PluginAdapterCompiz.cpp:272]: (performance) Checking for 'm_ActionList' emptiness might be inefficient. Using m_ActionList.empty() instead of m_ActionList.size() can be faster. m_ActionList.size() can take linear time but m_ActionList.empty() is guaranteed to take constant time.
- [../unity/unity-shared/PluginAdapterCompiz.cpp:818]: (performance) Checking for 'windows' emptiness might be inefficient. Using windows.empty() instead of windows.size() can be faster. windows.size() can take linear time but windows.empty() is guaranteed to take constant time.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_spread_state' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_spread_windows_state' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_expo_state' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_vp_switch_started' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_grab_show_action' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_grab_hide_action' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_grab_toggle_action' is not initialized in the constructor.
- [../unity/unity-shared/PluginAdapterStandalone.cpp:53]: (warning) Member variable 'PluginAdapter::_coverage_area_before_automaximize' is not initialized in the constructor.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement