From 3ed12bc2866c76cf61465c327df14f3c6891e3cc Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Sat, 15 Apr 2023 15:34:13 +0200 Subject: [PATCH] clang format --- src/grb_read.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/grb_read.c b/src/grb_read.c index ed5620b46..771ad2618 100644 --- a/src/grb_read.c +++ b/src/grb_read.c @@ -19,8 +19,8 @@ #include "cgribex.h" /* gribZip gribGetZip gribGinfo */ static int -grb_decode(int filetype, int memType, int datatype, void *cgribexp, void *gribbuffer, size_t gribsize, void *data, size_t datasize, int unreduced, - size_t *nmiss, double missval) +grb_decode(int filetype, int memType, int datatype, void *cgribexp, void *gribbuffer, size_t gribsize, void *data, size_t datasize, + int unreduced, size_t *nmiss, double missval) { int status = 0; @@ -44,7 +44,7 @@ grb_decode(int filetype, int memType, int datatype, void *cgribexp, void *gribbu status = gribapiDecode(memTypeX, gribbuffer, gribsize, datap, datasize, unreduced, nmiss, missval); - if (!useFloatInterface&& memType == MEMTYPE_FLOAT) + if (!useFloatInterface && memType == MEMTYPE_FLOAT) { float *dataf = (float *) data; double *datad = (double *) datap; @@ -119,8 +119,8 @@ grb_decode_record(void *untypedArgs) { JobArgs *args = (JobArgs *) untypedArgs; *args->outZip = grib1_unzip_record(args->gribbuffer, &args->recsize); - grb_decode(args->filetype, args->memType, args->datatype, args->cgribexp, args->gribbuffer, args->recsize, args->data, args->gridsize, - args->unreduced, &args->nmiss, args->missval); + grb_decode(args->filetype, args->memType, args->datatype, args->cgribexp, args->gribbuffer, args->recsize, args->data, + args->gridsize, args->unreduced, &args->nmiss, args->missval); return 0; } -- GitLab