diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-01 15:54:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 10:45:01 +0100 |
commit | 455e4011f7052c5d1fb4693a573e0998cf6badc8 (patch) | |
tree | ce9b3b511a3b61b936af7a4970ab4bcbaf620628 /desktop/unx/source/splashx.c | |
parent | cee129bf17bd604f96e3cfe62d3a55336e248ccd (diff) |
improve constparam loplugin
lots of little fixes to make the logic less pessimistic
Change-Id: If368822984250b11b98c56f5890177a1402e8660
Reviewed-on: https://gerrit.libreoffice.org/44168
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r-- | desktop/unx/source/splashx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index aa01d44b6c61..6bb98f965a91 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -117,7 +117,7 @@ static int splash_load_bmp( struct splash* splash, const char *filename ) return 1; } -static void setup_color( int val[3], color_t *col ) +static void setup_color( int const val[3], color_t *col ) { if ( val[0] < 0 || val[1] < 0 || val[2] < 0 ) return; @@ -160,7 +160,7 @@ static void get_bootstrap_value( int *array, int size, rtlBootstrapHandle handle } // setup -static void splash_setup( struct splash* splash, int barc[3], int framec[3], int posx, int posy, int w, int h ) +static void splash_setup( struct splash* splash, int const barc[3], int const framec[3], int posx, int posy, int w, int h ) { if ( splash->width <= 500 ) { |