From 3202fb6a55083b7b118d364565ff84c9d5773137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Mon, 27 Oct 2014 09:03:31 +0100 Subject: [PATCH] Remove stb_readdir_size which was written (on windows) but never read --- stb.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stb.h b/stb.h index 864aef5..083f0d4 100644 --- a/stb.h +++ b/stb.h @@ -5808,7 +5808,6 @@ void stb_readdir_free(char **files) } STB_EXTERN int stb_wildmatchi(char *expr, char *candidate); -static double stb_readdir_size; static char **readdir_raw(char *dir, int return_subdirs, char *mask) { char **results = NULL; @@ -5878,10 +5877,6 @@ static char **readdir_raw(char *dir, int return_subdirs, char *mask) if (buffer[0] == '.' && buffer[1] == '/') p = buffer+2; stb_arr_push(results, strdup(p)); - #ifdef _MSC_VER - if (!is_subdir) - stb_readdir_size += data.size; - #endif } } }