Skip to content
Snippets Groups Projects
Commit 3ed12bc2 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

clang format

parent 8f1d1201
No related branches found
Tags cdi-2.4.2
2 merge requests!42Develop,!41M214003/develop
Pipeline #32881 passed
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#include "cgribex.h" /* gribZip gribGetZip gribGinfo */ #include "cgribex.h" /* gribZip gribGetZip gribGinfo */
static int static int
grb_decode(int filetype, int memType, int datatype, void *cgribexp, void *gribbuffer, size_t gribsize, void *data, size_t datasize, int unreduced, grb_decode(int filetype, int memType, int datatype, void *cgribexp, void *gribbuffer, size_t gribsize, void *data, size_t datasize,
size_t *nmiss, double missval) int unreduced, size_t *nmiss, double missval)
{ {
int status = 0; int status = 0;
...@@ -44,7 +44,7 @@ grb_decode(int filetype, int memType, int datatype, void *cgribexp, void *gribbu ...@@ -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); status = gribapiDecode(memTypeX, gribbuffer, gribsize, datap, datasize, unreduced, nmiss, missval);
if (!useFloatInterface&& memType == MEMTYPE_FLOAT) if (!useFloatInterface && memType == MEMTYPE_FLOAT)
{ {
float *dataf = (float *) data; float *dataf = (float *) data;
double *datad = (double *) datap; double *datad = (double *) datap;
...@@ -119,8 +119,8 @@ grb_decode_record(void *untypedArgs) ...@@ -119,8 +119,8 @@ grb_decode_record(void *untypedArgs)
{ {
JobArgs *args = (JobArgs *) untypedArgs; JobArgs *args = (JobArgs *) untypedArgs;
*args->outZip = grib1_unzip_record(args->gribbuffer, &args->recsize); *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, grb_decode(args->filetype, args->memType, args->datatype, args->cgribexp, args->gribbuffer, args->recsize, args->data,
args->unreduced, &args->nmiss, args->missval); args->gridsize, args->unreduced, &args->nmiss, args->missval);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment