diff options
author | Julia Lawall <[email protected]> | 2009-02-04 22:43:04 +0100 |
---|---|---|
committer | Kumar Gala <[email protected]> | 2009-02-06 10:44:28 -0600 |
commit | 08c6e3a57877ceda5c2f4c99ae7d433b8eef779a (patch) | |
tree | 6b1d5d771d1704084aac6cc7fb67449859fc97c1 /lib/string_helpers.c | |
parent | 7f3ea17f316577e31db868f720ac575c74d20163 (diff) |
arch/powerpc: Eliminate double sizeof
Taking sizeof the result of sizeof is quite strange and does not seem to be
what is wanted here.
This was fixed using the following semantic patch.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression E;
@@
- sizeof (
sizeof (E)
- )
@@
type T;
@@
- sizeof (
sizeof (T)
- )
// </smpl>
Signed-off-by: Julia Lawall <[email protected]>
Acked-by: Scott Wood <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions