xcmsdb: Changes to 'master'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sat May 7 21:37:58 PDT 2011
loadData.c | 6 +++++-
xcmsdb.c | 7 ++-----
2 files changed, 7 insertions(+), 6 deletions(-)
New commits:
commit 9e7799634dd8149b741583672f9bb75fa2451489
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sat May 7 21:36:59 2011 -0700
Dead code removal
loadData.c:1497:2: warning: Value stored to 'token1' is never read
token1 = token2 = token3 = (char*)NULL;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
commit 08c8b7a6ee4232c5a6614b8fc4aac2b337623de0
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sat May 7 19:57:53 2011 -0700
Improved error handling for corrupt intensity profiles
loadData.c:661:15: warning: Access to field 'value' results in a dereference of a null pointer (loaded from variable 'pIRec')
pIRec->value = tmp;
~~~~~ ^
loadData.c:682:19: warning: The right operand of '>' is a garbage value
if (++count > size) {
^ ~~~~
Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
commit f872b47cb606d448766c1fa750709fd06a8a6904
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sat May 7 19:48:04 2011 -0700
Coding style cleanup to appease static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
More information about the xorg-commit
mailing list