Browse Source

db_perlvdb: clean gcc warning

perlvdb_conv.c:99:2: warning: enumeration value ‘DB1_UNKNOWN’ not handled in switch [-Wswitch]
Victor Seva 10 years ago
parent
commit
1874dd1062
1 changed files with 3 additions and 0 deletions
  1. 3 0
      modules/db_perlvdb/perlvdb_conv.c

+ 3 - 0
modules/db_perlvdb/perlvdb_conv.c

@@ -140,6 +140,9 @@ inline SV *valdata(db_val_t* val) {
 		case DB1_BITMAP:
 			data = newSViv(VAL_BITMAP(val));
 			break;
+
+		default:
+			break;
 	}
 
 	return data;