~compiz-team/compiz/compiz.fix_1006335

  • Committer: Daniel van Vugt
  • Author(s): smspillaz
  • Date: 2012-05-28 06:08:02 UTC
  • mfrom: (3225.4.2 compiz.clang-warnings)
  • Revision ID: daniel.van.vugt@canonical.com-20120528060802-1nnxgrg2amsieb01
Fixes warnings that happen on clang. Clang picked up a number of things by
default, including:

1. Memset by the size of a pointer rather than by the struct itself
2. inline functions in header files declared only
3. needless casting (although a leaked KWinAdapter is just insane, not sure
   how to fix that ..)
4. Unnecessary checks for < 0 with unsigned int
5. Member methods hiding virtual functions because they were never overridden
   correclty
6. Unused isAncestorTo in decor
7. ; after if statement with block proceeding in some places
8. Incrementing a bool
Filename Latest Rev Last Changed Committer Comment Size
..
core 1992 15 years ago Dennis Kasprzyk Merge CompCore and CompDisplay into CompScreen cla Diff
CMakeLists.txt 3217.2.1 12 years ago smspillaz Remove COMPIZ_DESTDIR It was a broken hack for a 130 bytes Diff Download File
decoration.h 3132.2.1 12 years ago smspillaz Unrevert r3131 and potentially fix LP#996901 in th 13.1 KB Diff Download File