diff options
author | notaz | 2011-09-05 19:31:58 +0300 |
---|---|---|
committer | notaz | 2011-09-06 00:18:06 +0300 |
commit | bbba320911a86c0ee373f8297f80a2b82de22039 (patch) | |
tree | 3b1320f78cade24ed84ae48e565445c239765f45 /arm | |
parent | eb3668fc5dab138073cd4844208ac05b94086a4a (diff) | |
download | picogpsp-bbba320911a86c0ee373f8297f80a2b82de22039.tar.gz picogpsp-bbba320911a86c0ee373f8297f80a2b82de22039.tar.bz2 picogpsp-bbba320911a86c0ee373f8297f80a2b82de22039.zip |
enable -Wall and fix warnings reported by it
Diffstat (limited to 'arm')
-rw-r--r-- | arm/arm_emit.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arm/arm_emit.h b/arm/arm_emit.h index 5d2eee0..a270a24 100644 --- a/arm/arm_emit.h +++ b/arm/arm_emit.h @@ -233,7 +233,6 @@ u32 arm_disect_imm_32bit(u32 imm, u32 *stores, u32 *rotations) { u32 store_count = 0; u32 left_shift = 0; - u32 i; // Otherwise it'll return 0 things to store because it'll never // find anything. @@ -276,7 +275,6 @@ u32 arm_disect_imm_32bit(u32 imm, u32 *stores, u32 *rotations) { // Then we can throw out the last bit and tack it on // to the first bit. - u32 initial_bits = rotations[0]; stores[0] = (stores[0] << ((top_bits + (32 - rotations[0])) & 0x1F)) | ((imm >> left_shift) & 0xFF); |