linuxmint/Cinnamon — pull request #949 by acmyo (2012-07-22 05:45:54+00:00)
Title: missing break statement, missing pointer derefence, missing pair of curly braces

Cleans up a gcc v4.6.3 -Werror=uninitialized warning and two cppcheck v1.55 warnings. All 3 appear to be inadvertant programming errors.

gcc:
(missing curley braces, discussed in #922)
st/st-box-layout.c: In function 'st_box_layout_allocate':
st/st-box-layout.c:802:64: error: 'next_position' may be used uninitialized in this function [-Werror=uninitialized]

cppcheck:
(missing break statement & missing pointer dereference)
[src/cinnamon-global.c:654]: (warning) Redundant assignment of "cursor_type" in switch
[src/cinnamon-global.c:1458]: (warning, inconclusive) Using size of pointer meminfo instead of size of its data.

cppcheck is [available here](http://cppcheck.sourceforge.net/).