slap som,e warnings and other correction

This commit is contained in:
sanctum32 2015-02-04 10:40:07 +00:00 committed by Antz
parent 72d9521c8a
commit 6cf3cc82b2
2 changed files with 4 additions and 1 deletions

View file

@ -276,6 +276,8 @@ void SQLStorageLoaderBase<DerivedLoader, StorageClass>::Load(StorageClass& store
case FT_NA_BYTE: storeValue((char)0, store, record, x, offset); ++x; continue; case FT_NA_BYTE: storeValue((char)0, store, record, x, offset); ++x; continue;
case FT_NA_FLOAT: storeValue((float)0.0f, store, record, x, offset); ++x; continue; case FT_NA_FLOAT: storeValue((float)0.0f, store, record, x, offset); ++x; continue;
case FT_NA_POINTER: storeValue((char const*)NULL, store, record, x, offset); ++x; continue; case FT_NA_POINTER: storeValue((char const*)NULL, store, record, x, offset); ++x; continue;
default:
break;
} }
// It is required that the input has at least as many columns set as the output requires // It is required that the input has at least as many columns set as the output requires
@ -301,6 +303,7 @@ void SQLStorageLoaderBase<DerivedLoader, StorageClass>::Load(StorageClass& store
break; break;
default: default:
assert(false && "unknown format character"); assert(false && "unknown format character");
break;
} }
++y; ++y;
} }