Warning fixes.

This commit is contained in:
Unknown W. Brackets 2015-11-15 22:36:13 -08:00
parent 9bec81b9c5
commit eb5072bba5
2 changed files with 4 additions and 1 deletions

View File

@ -457,6 +457,9 @@ ReplaceBlendType ReplaceBlendWithShader(bool allowShaderBlend, GEBufferFormat bu
return REPLACE_BLEND_STANDARD;
}
}
// Should never get here.
return REPLACE_BLEND_STANDARD;
}
LogicOpReplaceType ReplaceLogicOpType() {

View File

@ -269,7 +269,7 @@ size_t getFilesInDir(const char *directory, std::vector<FileInfo> *files, const
(virtualName[2] == '\0')))
continue;
// Remove dotfiles (should be made optional?)
// Remove dotfiles (optional with flag.)
if (!(flags & GETFILES_GETHIDDEN) && virtualName[0] == '.')
continue;