diff options
Diffstat (limited to 'linden/indra/llvfs/lldir_win32.cpp')
-rw-r--r-- | linden/indra/llvfs/lldir_win32.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llvfs/lldir_win32.cpp b/linden/indra/llvfs/lldir_win32.cpp index ad72752..fd264a7 100644 --- a/linden/indra/llvfs/lldir_win32.cpp +++ b/linden/indra/llvfs/lldir_win32.cpp | |||
@@ -64,9 +64,9 @@ LLDir_Win32::LLDir_Win32() | |||
64 | 64 | ||
65 | if (GetTempPath(MAX_PATH, w_str)) | 65 | if (GetTempPath(MAX_PATH, w_str)) |
66 | { | 66 | { |
67 | if (wcslen(w_str)) | 67 | if (wcslen(w_str)) /* Flawfinder: ignore */ |
68 | { | 68 | { |
69 | w_str[wcslen(w_str)-1] = '\0'; // remove trailing slash | 69 | w_str[wcslen(w_str)-1] = '\0'; /* Flawfinder: ignore */ // remove trailing slash |
70 | } | 70 | } |
71 | mTempDir = utf16str_to_utf8str(llutf16string(w_str)); | 71 | mTempDir = utf16str_to_utf8str(llutf16string(w_str)); |
72 | } | 72 | } |
@@ -361,7 +361,7 @@ DWORD GetDllVersion(LPCTSTR lpszDllName) | |||
361 | HINSTANCE hinstDll; | 361 | HINSTANCE hinstDll; |
362 | DWORD dwVersion = 0; | 362 | DWORD dwVersion = 0; |
363 | 363 | ||
364 | hinstDll = LoadLibrary(lpszDllName); | 364 | hinstDll = LoadLibrary(lpszDllName); /* Flawfinder: ignore */ |
365 | 365 | ||
366 | if(hinstDll) | 366 | if(hinstDll) |
367 | { | 367 | { |