diff --git a/src/netcdf_c.jl b/src/netcdf_c.jl index 464f7af2..584a12d6 100644 --- a/src/netcdf_c.jl +++ b/src/netcdf_c.jl @@ -1345,7 +1345,7 @@ function nc_inq_var(ncid::Integer,varid::Integer) if class == NC_VLEN Vector{jlType[base_nc_type]} else - warning("unsupported type: class=$(class)") + @warn "unsupported type: class=$(class)" Nothing end else