summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-09-21 21:29:55 -0400
committerGravatar bunnei2015-09-21 21:29:55 -0400
commit09f43c0975b303ca98072fbece37334b0d2b4e4b (patch)
tree4590343a003cedb3116fbc2ecf1da83354e90c56 /src/common/file_util.cpp
parentMerge pull request #1106 from Kloen/fix-connect (diff)
parenthash: Get rid of unused functions (diff)
downloadyuzu-09f43c0975b303ca98072fbece37334b0d2b4e4b.tar.gz
yuzu-09f43c0975b303ca98072fbece37334b0d2b4e4b.tar.xz
yuzu-09f43c0975b303ca98072fbece37334b0d2b4e4b.zip
Merge pull request #1160 from lioncash/clang
Silence some clang warnings
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 836b58d52..dcb9baa08 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -861,8 +861,8 @@ void SplitFilename83(const std::string& filename, std::array<char, 9>& short_nam
861 const std::string forbidden_characters = ".\"/\\[]:;=, "; 861 const std::string forbidden_characters = ".\"/\\[]:;=, ";
862 862
863 // On a FAT32 partition, 8.3 names are stored as a 11 bytes array, filled with spaces. 863 // On a FAT32 partition, 8.3 names are stored as a 11 bytes array, filled with spaces.
864 short_name = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '\0'}; 864 short_name = {{' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '\0'}};
865 extension = {' ', ' ', ' ', '\0'}; 865 extension = {{' ', ' ', ' ', '\0'}};
866 866
867 std::string::size_type point = filename.rfind('.'); 867 std::string::size_type point = filename.rfind('.');
868 if (point == filename.size() - 1) 868 if (point == filename.size() - 1)