Skip to content
Myr

stb_image.h: fix warning about unused function 'stbi__err'

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

Fixes issue #746.

authored by BlackMATov · committed by BlackMATov · parent 052dce1 · 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
104 unmodified lines
105 Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus106 Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo107 Christian Floisand Kevin Schmidt JR Smith github:darealshinji108 Blazej Dariusz Roszkowski github:Michaelangel007109 Matvey Cherevko110*/111112#ifndef STBI_INCLUDE_STB_IMAGE_H113#define STBI_INCLUDE_STB_IMAGE_H
767 unmodified lines
881{882 return stbi__g_failure_reason;883}884885#ifndef STBI_NO_FAILURE_STRINGS886static int stbi__err(const char *str)887{888 stbi__g_failure_reason = str;889 return 0;890}891#endif892893static void *stbi__malloc(size_t size)894{895 return STBI_MALLOC(size);
6667 unmodified lines