diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-11 15:45:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-12 13:00:56 +0000 |
commit | 4dfd93a3b31e8e9421fff0c6b81cd6d4fb8f4103 (patch) | |
tree | dfc387f06617e67eb200cd6f97042ad18401d1c8 /desktop/unx/source/splashx.c | |
parent | fb6477e5d10948e47b1279afc8fa2a350d75807f (diff) |
cppcheck: silence warning
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r-- | desktop/unx/source/splashx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 6e7088b42ca4..4e3a8bdddfdb 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -308,11 +308,10 @@ static void create_pixmap() int bytes_per_line = image->bytes_per_line; int bpp = image->bits_per_pixel; int byte_order = image->byte_order; - int machine_byte_order; #if defined( _LITTLE_ENDIAN ) - machine_byte_order = LSBFirst; + int machine_byte_order = LSBFirst; #elif defined( _BIG_ENDIAN ) - machine_byte_order = MSBFirst; + int machine_byte_order = MSBFirst; #else { fprintf( stderr, "Unsupported machine endianity.\n" ); |