Temporary fix for invalid function signature for BUFR. Added Assert

This commit is contained in:
Shahram Najm 2015-01-29 16:25:47 +00:00
parent be4e8552a9
commit 7c9163786d
1 changed files with 4 additions and 2 deletions

View File

@ -934,7 +934,8 @@ int _codes_index_add_file(grib_index* index,const char* filename,int message_typ
message_new=grib_new_from_file;
break;
case CODES_BUFR:
message_new=bufr_new_from_file;
Assert(!"_codes_index_add_file for BUFR: not yet implemented");
/* message_new=bufr_new_from_file; */
break;
default:
Assert(0);
@ -1452,7 +1453,8 @@ grib_handle* codes_index_get_handle(grib_field* field,int message_type,int *err)
message_new=grib_new_from_file;
break;
case CODES_BUFR:
message_new=bufr_new_from_file;
Assert(!"_codes_index_add_file for BUFR: not yet implemented");
/* message_new=bufr_new_from_file; */
break;
default :
Assert(0);