mirror of
https://github.com/nothings/stb
synced 2024-12-14 20:12:34 +03:00
stb_image: fix unused parameter
This commit is contained in:
parent
422e29017c
commit
b8b6e7c31a
@ -578,10 +578,10 @@ FILE *stbi__fopen(char const *filename, char const *mode)
|
|||||||
{
|
{
|
||||||
FILE *f;
|
FILE *f;
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
if (0 != fopen_s(&f, filename, "rb"))
|
if (0 != fopen_s(&f, filename, mode))
|
||||||
f=0;
|
f=0;
|
||||||
#else
|
#else
|
||||||
f = fopen(filename, "rb");
|
f = fopen(filename, mode);
|
||||||
#endif
|
#endif
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user