Activate -Wall compile flag, Fix code not to throw warnings

This commit is contained in:
2018-06-05 22:51:50 +02:00
parent 3ed83c1146
commit da19037211
4 changed files with 15 additions and 13 deletions

View File

@@ -610,6 +610,19 @@ int parse_gds_from_file(const char *filename, GList **library_list)
}
switch (rec_type) {
case HEADER:
case UNITS:
case ENDLIB:
case ENDSTR:
case BOUNDARY:
case PATH:
case SREF:
case ENDEL:
case BOX:
case INVALID:
break;
case BGNLIB:
/* Parse date record */
gds_parse_date(workbuff, read, &current_lib->mod_time, &current_lib->access_time);