Skip to content
Myr

Fix unused vars warning in stbi_is_hdr_from_file stbi_is_hdr_from_callbacks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michaelangel007 · committed by Michaelangel007 · parent b53c08a · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:stb_image.h+3 added
1151 unmodified lines
1152 stbi__context s;1153 stbi__start_file(&s,f);1154 return stbi__hdr_test(&s);1155 #else1156 STBI_NOTUSED(f);1157 return 0;1158 #endif1159}1160#endif // !STBI_NO_STDIO
4 unmodified lines
1165 stbi__context s;1166 stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user);1167 return stbi__hdr_test(&s);1168 #else1169 STBI_NOTUSED(clbk);1170 STBI_NOTUSED(user);1171 return 0;1172 #endif1173}1174
5266 unmodified lines