From a2d55b812a5dff236cb2028eb594a61806117702 Mon Sep 17 00:00:00 2001 From: Den Mentiei Date: Thu, 12 Oct 2017 22:15:40 +0300 Subject: [PATCH] Fixed a warning: unused variable is no more. --- README.md | 2 +- gb_math.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9503520..ea85a9c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ gb single-file public domain libraries for C & C++ library | latest version | category | description ----------------|----------------|----------|------------- **gb.h** | 0.27 | misc | Helper library (Standard library _improvement_) -**gb_math.h** | 0.07d | math | Vector math library geared towards game development +**gb_math.h** | 0.07e | math | Vector math library geared towards game development **gb_gl.h** | 0.05 | graphics | OpenGL Helper Library **gb_string.h** | 0.95a | strings | A better string library (this is built into gb.h too with custom allocator support!) **gb_ini.h** | 0.93 | misc | Simple ini file loader library diff --git a/gb_math.h b/gb_math.h index 62f84f4..9e6790f 100644 --- a/gb_math.h +++ b/gb_math.h @@ -3,6 +3,7 @@ use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file Version History: + 0.07e - Fixed a warning 0.07d - Fix mat4_inverse 0.07c - Add gb_random01 0.07b - Fix mat4_inverse @@ -1526,7 +1527,6 @@ void gb_mat4_inverse(gbMat4 *out, gbMat4 *in) { gbFloat4 *m = gb_float44_m(in); float ood; - float tmp; float sf00 = m[2][2] * m[3][3] - m[3][2] * m[2][3]; float sf01 = m[2][1] * m[3][3] - m[3][1] * m[2][3];