diff options
author | Emil Velikov <[email protected]> | 2017-02-09 13:35:34 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-16 15:22:17 +0000 |
commit | cadf174866bcb2b717ddc53a586ca51f37e80893 (patch) | |
tree | ea3b061f23c17db22751c49f8afa557010a274d1 /src/util/disk_cache.c | |
parent | 350e8e821f55f1560933c31b261bc5d5dd3b7a13 (diff) |
util/disk_cache: do not allow space in MESA_GLSL_CACHE_MAX_SIZE
No other env var used in mesa allows for space in the variable contents.
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/util/disk_cache.c')
-rw-r--r-- | src/util/disk_cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c index 047a016006b..46d16144166 100644 --- a/src/util/disk_cache.c +++ b/src/util/disk_cache.c @@ -278,8 +278,6 @@ disk_cache_create(void) if (end == max_size_str) { max_size = 0; } else { - while (*end && isspace(*end)) - end++; switch (*end) { case 'K': case 'k': |