diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2012-12-10 23:35:41 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2012-12-11 19:04:45 +0100 |
commit | bdbd84a6c99943f4e012c92ad9cb920cbd676621 (patch) | |
tree | 5dcb81d58ddf04ab3c4c1e6fb1fd7eb8e1bbf200 /autogen.sh | |
parent | cf0a81547bcde32bdd2b080c0a546a49dd2eb628 (diff) |
Remove local variables total_size_bytes.
Not actually used for anything. Refactoring gone wrong?
Also remove a comment that doesn't seem to make sense anymore.
Stumbled over this due to a warning by clang:
../../src/radeon_kms.c:1562:6: warning: variable 'total_size_bytes' is uninitialized when used here [-Wuninitialized]
total_size_bytes += (64 * 4 * 64);
^~~~~~~~~~~~~~~~
../../src/radeon_kms.c:1557:25: note: initialize the variable 'total_size_bytes' to silence this warning
int total_size_bytes;
^
= 0
Reviewed-by: Alex Deucher <aleander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions