mirror of https://github.com/ecmwf/eccodes.git
Examples: Fix valgrind errors
This commit is contained in:
parent
e78f3be92f
commit
f0bd218441
|
@ -13,7 +13,7 @@ program read_bytes
|
|||
integer :: ifile
|
||||
integer :: intsize
|
||||
parameter(intsize=10000)
|
||||
character, dimension(intsize) :: bufferChar
|
||||
character, dimension(intsize) :: bufferChar = ''
|
||||
character(len=32) :: input_grib_file = '../../data/v.grib2'
|
||||
|
||||
call codes_open_file(ifile, input_grib_file, 'r')
|
||||
|
|
|
@ -12,7 +12,7 @@ program grib_sections_copy
|
|||
implicit none
|
||||
|
||||
integer :: igrib_a, igrib_b, igrib_c, iret
|
||||
character(len=40) :: error_message
|
||||
character(len=40) :: error_message = ''
|
||||
|
||||
call codes_grib_new_from_samples(igrib_a, 'regular_ll_sfc_grib1')
|
||||
call codes_grib_new_from_samples(igrib_b, 'reduced_gg_pl_640_grib1')
|
||||
|
|
Loading…
Reference in New Issue