windows_unicode_filenames.c: Fix a missing return statement
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 17 Aug 2018 23:44:24 +0000 (09:44 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 17 Aug 2018 23:44:24 +0000 (09:44 +1000)
src/libFLAC/windows_unicode_filenames.c

index cb60c60..4c61558 100644 (file)
@@ -194,6 +194,8 @@ HANDLE WINAPI flac_internal_CreateFile_utf8(const char *lpFileName, DWORD dwDesi
 
                handle = CreateFile2(wname, dwDesiredAccess, dwShareMode, CREATE_ALWAYS, NULL);
                free(wname);
+
+               return handle;
        }
 #else
        if (!utf8_filenames) {