diff --git a/libdispatch/ddispatch.c b/libdispatch/ddispatch.c index 21837a436..3a3cb18d6 100644 --- a/libdispatch/ddispatch.c +++ b/libdispatch/ddispatch.c @@ -26,7 +26,7 @@ See LICENSE.txt for license information. #include #endif -/* Define vectors of zeros and ones for use with various nc_get_varX function*/ +/* Define vectors of zeros and ones for use with various nc_get_varX functions */ size_t NC_coord_zero[NC_MAX_VAR_DIMS] = {0}; size_t NC_coord_one[NC_MAX_VAR_DIMS] = {1}; ptrdiff_t NC_stride_one[NC_MAX_VAR_DIMS] = {1}; @@ -46,15 +46,10 @@ NCDISPATCH_initialize(void) int i; NCRCglobalstate* globalstate = NULL; - { - size_t* c0 = (size_t*)NC_coord_zero; - size_t* c1 = (size_t*)NC_coord_one; - ptrdiff_t* s1 = (ptrdiff_t*)NC_stride_one; - for(i=0;i